We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ffb810b commit 826032cCopy full SHA for 826032c
scripts/prebuild.js
@@ -27,8 +27,7 @@ if (process.env.npm_config_build_from_source === 'true') {
27
// Check whether the correct prebuilt files exist
28
console.log('\x1b[32m> Checking prebuilds...\x1b[0m');
29
if (!fs.existsSync(PREBUILD_DIR)) {
30
- console.log(`\x1b[33m> Removing prebuilds and rebuilding because directory ${PREBUILD_DIR} does not exist\x1b[0m`);
31
- fs.rmSync(PREBUILDS_ROOT, { recursive: true, force: true });
+ console.log(`\x1b[33m> Rebuilding because directory ${PREBUILD_DIR} does not exist\x1b[0m`);
32
process.exit(1);
33
}
34
0 commit comments