fuzzrunx 0.1.2 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/package.json +1 -1
- package/scripts/postinstall.js +1 -5
package/README.md
CHANGED
|
@@ -14,7 +14,7 @@ Install (npm):
|
|
|
14
14
|
npm i -g fuzzrunx
|
|
15
15
|
```
|
|
16
16
|
|
|
17
|
-
On
|
|
17
|
+
On install, FuzzRun auto-enables shell hooks and will print:
|
|
18
18
|
`FuzzRun is automatically enabled. Run "fuzzrun disable" to deactivate.`
|
|
19
19
|
|
|
20
20
|
If you want to skip auto-enable, set `FUZZRUN_SKIP_ENABLE=1` during install.
|
package/package.json
CHANGED
package/scripts/postinstall.js
CHANGED
|
@@ -3,12 +3,8 @@
|
|
|
3
3
|
const installer = require('../src/installer');
|
|
4
4
|
|
|
5
5
|
const skip = process.env.FUZZRUN_SKIP_ENABLE === '1';
|
|
6
|
-
const isGlobal =
|
|
7
|
-
process.env.npm_config_global === 'true' ||
|
|
8
|
-
process.env.npm_config_global === '1' ||
|
|
9
|
-
process.env.npm_config_location === 'global';
|
|
10
6
|
|
|
11
|
-
if (skip
|
|
7
|
+
if (skip) {
|
|
12
8
|
process.stdout.write('fuzzrun: auto-enable skipped\n');
|
|
13
9
|
process.exit(0);
|
|
14
10
|
}
|