Skip to content

Commit 6add07d

Browse files
committed
If no-postinstall exist run script
1 parent 7fa8a6c commit 6add07d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

script.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
const childProcess = require('child_process');
22
const fs = require('fs');
33

4-
if (!fs.existsSync('./no-postinstall')) {
4+
if (fs.existsSync('./no-postinstall')) {
55
childProcess.execSync('node ./lib/postinstall.js');
66
}

0 commit comments

Comments
 (0)