mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-06-17 19:21:23 +03:00
change replaceAll function
This commit is contained in:
@@ -25,7 +25,7 @@ const ErrorAssertion = function (module, test, assertionDetails) {
|
|||||||
|
|
||||||
const print = (msg, indent = 0, color = null, force = false) => {
|
const print = (msg, indent = 0, color = null, force = false) => {
|
||||||
const indentSpaces = ' '.repeat(indent)
|
const indentSpaces = ' '.repeat(indent)
|
||||||
msg = indentSpaces + msg.replaceAll('\n', '\n' + indentSpaces)
|
msg = indentSpaces + msg.replace(/\n/g, '\n' + indentSpaces)
|
||||||
|
|
||||||
if (!BE_VERBOSE && !force) {
|
if (!BE_VERBOSE && !force) {
|
||||||
return
|
return
|
||||||
|
|||||||
Reference in New Issue
Block a user