build: display status log in one line
This commit is contained in:
1 parent
c1cf1dc6a5
commit
ddfffb5a2f
1 file changed
+1
-2
+1
-2
@@ -29,8 +29,7 @@ function log (processName, data, color = 'yellow') {
|
||||
}
|
||||
|
||||
if (/[\dA-z]+/.test(strLog)) {
|
||||
console.log(`${chalk[color].bold(`[${processName}]---------------`)}\n`)
|
||||
console.log(`${strLog}${chalk[color].bold(`[${processName}]---------------`)}\n`)
|
||||
console.log(`${chalk[color].bold(`[${processName}] >`)}${strLog}`)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user