diff options
author | Anna Henningsen <anna@addaleax.net> | 2016-09-01 22:54:29 +0300 |
---|---|---|
committer | Kat Marchán <kzm@sykosomatic.org> | 2016-10-19 10:33:38 +0300 |
commit | 70b352c6db41533b9a4bfaa9d91f7a2a1178f74e (patch) | |
tree | 09e6eb1e9a6028a1d5ee67408dae218074bead41 /doc/misc/npm-config.md | |
parent | 3fb1eb3e00b5daf37f14e437d2818e9b65a43392 (diff) |
run-script: change default for `--scripts-prepend-node-path` to `warn-only`
Change the default behaviour of npm to never prepending the
current node executable’s directory to `PATH` but printing a warning
in the cases in which it previously did.
PR-URL: https://github.com/npm/npm/pull/13409
Credit: @addaleax
Reviewed-By: @zkat
Reviewed-By: @othiym23
Diffstat (limited to 'doc/misc/npm-config.md')
-rw-r--r-- | doc/misc/npm-config.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/misc/npm-config.md b/doc/misc/npm-config.md index 3803cb114..9e21a4a3f 100644 --- a/doc/misc/npm-config.md +++ b/doc/misc/npm-config.md @@ -812,7 +812,7 @@ of packages specified according to the pattern `@organization/package`. ### scripts-prepend-node-path -* Default: "auto" +* Default: "warn-only" * Type: Boolean, `"auto"` or `"warn-only"` If set to `true`, add the directory in which the current `node` executable |