Skip to content

Commit

Permalink
change replaceAll function
Browse files Browse the repository at this point in the history
  • Loading branch information
GeoSot committed Dec 6, 2021
1 parent 9c3a615 commit 4d802f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test-scss/helpers.js
Expand Up @@ -25,7 +25,7 @@ const ErrorAssertion = function (module, test, assertionDetails) {

const print = (msg, indent = 0, color = null, force = false) => {
const indentSpaces = ' '.repeat(indent)
msg = indentSpaces + msg.replaceAll('\n', '\n' + indentSpaces)
msg = indentSpaces + msg.replace(/\n/g, '\n' + indentSpaces)

if (!BE_VERBOSE && !force) {
return
Expand Down

0 comments on commit 4d802f0

Please sign in to comment.