summaryrefslogtreecommitdiff
path: root/deps/npm/docs/output/commands/npm-run-script.html
diff options
context:
space:
mode:
authornpm-robot <ops+robot@npmjs.com>2021-06-03 20:17:35 +0000
committerRuy Adorno <ruyadorno@hotmail.com>2021-06-08 13:57:12 -0400
commit306a57d33191d171bc148c0d06254730b6faa28e (patch)
tree0063635a2e73f60b64aa8315a4796d3a1a498128 /deps/npm/docs/output/commands/npm-run-script.html
parentf504c9c6b897f14891f147ad4a05e743133a0d35 (diff)
downloadnode-new-306a57d33191d171bc148c0d06254730b6faa28e.tar.gz
deps: upgrade npm to 7.16.0
PR-URL: https://github.com/nodejs/node/pull/38920 Reviewed-By: Ruy Adorno <ruyadorno@github.com> Reviewed-By: Myles Borins <myles.borins@gmail.com>
Diffstat (limited to 'deps/npm/docs/output/commands/npm-run-script.html')
-rw-r--r--deps/npm/docs/output/commands/npm-run-script.html6
1 files changed, 1 insertions, 5 deletions
diff --git a/deps/npm/docs/output/commands/npm-run-script.html b/deps/npm/docs/output/commands/npm-run-script.html
index 54afe9f240..cbae66c280 100644
--- a/deps/npm/docs/output/commands/npm-run-script.html
+++ b/deps/npm/docs/output/commands/npm-run-script.html
@@ -190,11 +190,7 @@ script to use different behavior based on what subdirectory you’re in, you
can use the <code>INIT_CWD</code> environment variable, which holds the full path you
were in when you ran <code>npm run</code>.</p>
<p><code>npm run</code> sets the <code>NODE</code> environment variable to the <code>node</code> executable
-with which <code>npm</code> is executed. Also, if the <code>--scripts-prepend-node-path</code> is
-passed, the directory within which <code>node</code> resides is added to the <code>PATH</code>.
-If <code>--scripts-prepend-node-path=auto</code> is passed (which has been the default
-in <code>npm</code> v3), this is only performed when that <code>node</code> executable is not
-found in the <code>PATH</code>.</p>
+with which <code>npm</code> is executed.</p>
<p>If you try to run a script without having a <code>node_modules</code> directory and it
fails, you will be given a warning to run <code>npm install</code>, just in case you’ve
forgotten.</p>