build: display status log in one line

This commit is contained in:
leejooy96 committed 2022-06-13 11:37:36 +09:00
1 parent c1cf1dc6a5
commit ddfffb5a2f
1 file changed
+1 -2
+1 -2
View File
@@ -29,8 +29,7 @@ function log (processName, data, color = 'yellow') {
} }
if (/[\dA-z]+/.test(strLog)) { if (/[\dA-z]+/.test(strLog)) {
console.log(`${chalk[color].bold(`[${processName}]---------------`)}\n`) console.log(`${chalk[color].bold(`[${processName}] >`)}${strLog}`)
console.log(`${strLog}${chalk[color].bold(`[${processName}]---------------`)}\n`)
} }
} }