增加 log 图标样式

This commit is contained in:
whyour
2024-10-13 21:24:17 +08:00
parent 71dd82f74e
commit 4244502949
7 changed files with 25 additions and 9 deletions
+3 -3
View File
@@ -29,7 +29,7 @@ function run() {
file_task_before_js,
dir_scripts,
task_before,
PREV_NODE_OPTIONS
PREV_NODE_OPTIONS,
} = process.env;
try {
@@ -62,10 +62,10 @@ function run() {
}
} catch (error) {
if (!error.message.includes('spawnSync /bin/sh E2BIG')) {
console.log(` run task before error: `, error);
console.log(`\ue926 run task before error: `, error);
} else {
console.log(
` The environment variable is too large. It is recommended to use task_before.js instead of task_before.sh\n`,
`\ue926 The environment variable is too large. It is recommended to use task_before.js instead of task_before.sh\n`,
);
}
if (task_before) {