updates
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
#!/usr/bin/env runts -- --runtime-bun
|
||||
|
||||
import {spawn} from "node:child_process";
|
||||
import {existsSync} from "node:fs";
|
||||
import {createInterface} from "node:readline/promises";
|
||||
import {stdin, stdout} from "node:process";
|
||||
import { spawn } from "node:child_process";
|
||||
import { existsSync } from "node:fs";
|
||||
import { createInterface } from "node:readline/promises";
|
||||
import { stdin, stdout } from "node:process";
|
||||
|
||||
class ProcessOutput {
|
||||
code: number;
|
||||
@@ -252,7 +252,7 @@ class ProcessBar {
|
||||
stop(clearLine?: boolean): void {
|
||||
if (this.interval) {
|
||||
clearInterval(this.interval);
|
||||
process.stderr.write(clearLine ? "\r" : "\n");
|
||||
process.stderr.write(clearLine ? "\r\x1b[K" : "\n");
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -328,5 +328,5 @@ main().catch((err) => {
|
||||
process.exit(0);
|
||||
}).then(() => process.exit(0));
|
||||
|
||||
// @SCRIPT-SIGNATURE-V1: yk-r1.ES256.20260125T170220+08:00.MEUCIBbcPLl4NzXzhcDwPt7F
|
||||
// i49+HyN/RBgiMXrhui/WYyhnAiEA3oSQc4/lRuy+kkCsH0PGaQr91ATjt/gZhl8PeLY0PbM=
|
||||
// @SCRIPT-SIGNATURE-V1: yk-r1.ES256.20260125T170500+08:00.MEYCIQCQaZ4intwkah4yIvBY
|
||||
// ZDtlPggRVyMKGYjB0pKf0mKLSwIhANSfiFQpRZQ4ANeLAbBUJ4YQUgDISqLpX2v7LnOnK1ki
|
||||
|
||||
Reference in New Issue
Block a user