Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ronenhamias committed Jul 18, 2023
1 parent ef46322 commit 23bf48f
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions app/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 23bf48f

Please sign in to comment.