diff --git a/scripts/vendor-node.cjs b/scripts/vendor-node.cjs index cf27a567..19529615 100644 --- a/scripts/vendor-node.cjs +++ b/scripts/vendor-node.cjs @@ -57,9 +57,6 @@ mkdirSync(destDir, {recursive: true}); // Decompress to the same directory await decompress(filePath, tmpDir, {}); - // Remove the original archive - rmSync(filePath); - // Copy binary const binSrc = path.join(tmpDir, SRC_BIN_MAP[key]); cpSync(binSrc, binDest); diff --git a/scripts/vendor-protoc.cjs b/scripts/vendor-protoc.cjs index dd42b4f5..9f5c019d 100644 --- a/scripts/vendor-protoc.cjs +++ b/scripts/vendor-protoc.cjs @@ -46,9 +46,6 @@ mkdirSync(dstDir, {recursive: true}); // Decompress to the same directory await decompress(filePath, tmpDir, {}); - // Remove the original archive - rmSync(filePath); - // Copy binary const binSrc = path.join(tmpDir, SRC_BIN_MAP[key]); const binDst = path.join(dstDir, DST_BIN_MAP[key]);