mirror of
https://github.com/lovell/sharp.git
synced 2025-07-09 10:30:15 +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
|
// Extract prebuild tarball
|
||||||
const lib = path.join(dir, 'lib');
|
const lib = path.join(dir, 'lib');
|
||||||
await rm(lib, { recursive: true });
|
await rm(lib, { force: true, recursive: true });
|
||||||
await pipeline(
|
await pipeline(
|
||||||
Readable.fromWeb(response.body),
|
Readable.fromWeb(response.body),
|
||||||
createGunzip(),
|
createGunzip(),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user