Skip to content

Commit

Permalink
Allow empty lib dir when populating npm packages
Browse files Browse the repository at this point in the history
  • Loading branch information
lovell committed Nov 4, 2023
1 parent 7c1551b commit 239435a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion npm/from-github-release.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ workspaces.map(async platform => {
}
// Extract prebuild tarball
const lib = path.join(dir, 'lib');
await rm(lib, { recursive: true });
await rm(lib, { force: true, recursive: true });
await pipeline(
Readable.fromWeb(response.body),
createGunzip(),
Expand Down

0 comments on commit 239435a

Please sign in to comment.