Skip to content

Commit

Permalink
fix: close file after reading all entries (#164)
Browse files Browse the repository at this point in the history
  • Loading branch information
ayushmanchhabra authored May 9, 2024
1 parent db5be64 commit 5c481a7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/decompress.js
Original file line number Diff line number Diff line change
Expand Up @@ -92,4 +92,5 @@ async function unzip(zippedFile, cacheDir) {
await fs.promises.symlink(linkTarget, entryPathAbs);
}
}
await zip.close();
}

0 comments on commit 5c481a7

Please sign in to comment.