chore: 网络测试

This commit is contained in:
xiaojunnuo
2025-09-30 18:03:16 +00:00
parent b364313297
commit 5291bfe8d4
5 changed files with 5 additions and 27 deletions

View File

@@ -129,9 +129,9 @@ async function spawn(opts: SpawnOption): Promise<string> {
log.error(`child process exited with code ${code}`);
const e = new Error(stderr || "return " + code);
//@ts-ignore
error.stderr = stderr;
e.stderr = stderr;
//@ts-ignore
error.stdout = stdout;
e.stdout = stdout;
reject(e);
} else {
resolve(stdout);