diff --git a/packages/core/src/lib/util.ts b/packages/core/src/lib/util.ts index 16d54d17..c973a06b 100644 --- a/packages/core/src/lib/util.ts +++ b/packages/core/src/lib/util.ts @@ -103,6 +103,7 @@ export async function untar( await extractTar({ file: tarFile, cwd: destinationPath, + unlink: true, }); if (deleteZipWhenDone) { fs.unlinkSync(tarFile);