From 23bf48f203d426baba2534c5d3f52e77bae0efce Mon Sep 17 00:00:00 2001 From: Ronen Date: Tue, 18 Jul 2023 10:11:56 +0300 Subject: [PATCH] fix --- app/utils.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/app/utils.js b/app/utils.js index 47d4bce1..fe251aa1 100644 --- a/app/utils.js +++ b/app/utils.js @@ -167,9 +167,8 @@ class Utils { status = 'SUCCESS' } for (const line of message.split(/\r?\n/)) { - line.replaceAll("\r", "") - line.replaceAll("\n", "") - details += `${Utils.getMarker(status)} ${line} \n` + const str = line.replace(/(\r\n|\r|\n)/g, ' ') + details += `${Utils.getMarker(status)} ${str} \n` } } return details