Skip to content

Commit

Permalink
fix install multi zip entries (#450)
Browse files Browse the repository at this point in the history
* feat: migrate to zip.js

* fix: multiple entries in driver zip

---------

Co-authored-by: Johannes Rückert <[email protected]>
  • Loading branch information
johannesrue and Johannes Rückert authored May 28, 2024
1 parent af917c8 commit 3244189
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/install.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ async function downloadZip(res: Awaited<ReturnType<typeof retryFetch>>, cacheDir
for (const entry of await zip.getEntries()) {
const unzippedFilePath = path.join(cacheDir, entry.filename)
if (entry.directory) {
return
continue
}
if (!await hasAccess(path.dirname(unzippedFilePath))) {
await fsp.mkdir(path.dirname(unzippedFilePath), { recursive: true })
Expand Down

0 comments on commit 3244189

Please sign in to comment.