Skip to content
This repository was archived by the owner on Nov 13, 2024. It is now read-only.

Commit 11c2852

Browse files
committed
新增 测试代码
1 parent f8654eb commit 11c2852

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/common/compress.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,9 @@ async function linuxZip(sourceZip: string, files: string[]) {
135135
const process = child_process.spawn("zip", p, {
136136
cwd: path.normalize(path.dirname(sourceZip))
137137
});
138+
process.stdout.on("data", (data) => {
139+
console.log(data.toString("utf-8"));
140+
});
138141
if (!process || !process.pid) return reject(false);
139142
process.on("exit", (code) => {
140143
if (code) return reject(false);

0 commit comments

Comments
 (0)