Fix download-dist.js do not exit sometimes

This commit is contained in:
Louis Lam 2023-02-20 23:15:49 +08:00
parent cf32b8bc64
commit 4642f9be0a

View File

@ -47,6 +47,7 @@ function download(url) {
});
}
console.log("Done");
process.exit(0);
});
tarStream.on("error", () => {