summaryrefslogtreecommitdiff
path: root/deps/npm/bin/npx
diff options
context:
space:
mode:
authorclaudiahdz <cghr1990@gmail.com>2019-11-18 21:01:39 +0200
committerMyles Borins <mylesborins@google.com>2019-11-20 19:16:47 -0500
commita7c7c703aff362f06ef5d49451a0f79fd289910f (patch)
tree48f9d01b32d55d420f229c4889a5a61178419223 /deps/npm/bin/npx
parenta30a9f8193ddd61dfadc2d5d79784b682027b319 (diff)
downloadandroid-node-v8-a7c7c703aff362f06ef5d49451a0f79fd289910f.tar.gz
android-node-v8-a7c7c703aff362f06ef5d49451a0f79fd289910f.tar.bz2
android-node-v8-a7c7c703aff362f06ef5d49451a0f79fd289910f.zip
deps: upgrade npm to 6.13.1
PR-URL: https://github.com/nodejs/node/pull/30533 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Jiawen Geng <technicalcute@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Diffstat (limited to 'deps/npm/bin/npx')
-rw-r--r--deps/npm/bin/npx4
1 files changed, 4 insertions, 0 deletions
diff --git a/deps/npm/bin/npx b/deps/npm/bin/npx
index 261e339850..3516c8c415 100644
--- a/deps/npm/bin/npx
+++ b/deps/npm/bin/npx
@@ -8,6 +8,10 @@ case `uname` in
esac
NODE_EXE="$basedir/node.exe"
+if [ -x "$NODE_EXE" ] && [ -f "/bin/wslpath" ]; then # run the corresponding command prompt when Node for Windows is executed within WSL
+ cmd.exe /c `wslpath -w "$basedir/npx.cmd"` "$@"
+ exit $?
+fi
if ! [ -x "$NODE_EXE" ]; then
NODE_EXE=node
fi