updates commit.ts

This commit is contained in:
2026-01-25 13:24:19 +08:00
parent bbf486d4e3
commit d5d696fd09
2 changed files with 6 additions and 6 deletions

View File

@@ -247,13 +247,13 @@ class ProcessBar {
if (costMs > 1000) {
time = parseInt(costMs / 1000) + "s";
}
process.stdout.write(`\r${this.message} ${time} ${dots}\x1b[K`);
process.stderr.write(`\r${this.message} ${time} ${dots}\x1b[K`);
}, 200);
}
stop(clearLine?: boolean): void {
if (this.interval) {
clearInterval(this.interval);
process.stdout.write(clearLine ? "\r" : "\n");
process.stderr.write(clearLine ? "\r" : "\n");
}
}
}
@@ -321,5 +321,5 @@ main().catch((err) => {
process.exit(0);
}).then(() => process.exit(0));
// @SCRIPT-SIGNATURE-V1: yk-r1.ES256.20260125T132004+08:00.MEQCIE79f9fvVdB/ZPz7TaLz
// G5MQJfEKNXwMrnw/7otxla/cAiAw/MC/WJDEM1cwCiSAIWBQofsvSoRIfKYVpYx7koHmXA==
// @SCRIPT-SIGNATURE-V1: yk-r1.ES256.20260125T132351+08:00.MEQCIGM/e3lHXhvDoj2w1HUz
// b3VNQZ5UcV3rYo2eVhGbeclhAiBYWQ70AqGUUS80RKR4Umqr+D4NSSKHIhujwGngWBbKqw==