mirror of
https://github.com/lovell/sharp.git
synced 2025-07-09 02:30:12 +02:00
Allow empty lib dir when populating npm packages
This commit is contained in:
parent
7c1551bdc9
commit
239435a6dc
@ -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(),
|
||||
|
Loading…
x
Reference in New Issue
Block a user