2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-05-15 11:59:39 +03:00

change replaceAll function

This commit is contained in:
GeoSot
2021-10-06 01:21:14 +03:00
committed by XhmikosR
parent ac2494eba2
commit 85346f34af
+1 -1
View File
@@ -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