From 85346f34af5abfd4972d30df9f68203299e1c3b0 Mon Sep 17 00:00:00 2001 From: GeoSot Date: Wed, 6 Oct 2021 01:21:14 +0300 Subject: [PATCH] change replaceAll function --- test-scss/helpers.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test-scss/helpers.js b/test-scss/helpers.js index b618f213c..21f9df690 100644 --- a/test-scss/helpers.js +++ b/test-scss/helpers.js @@ -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