We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b829d62 commit d480f2cCopy full SHA for d480f2c
bin/npm
@@ -8,10 +8,6 @@ case `uname` in
8
esac
9
10
NODE_EXE="$basedir/node.exe"
11
-if [ -x "$NODE_EXE" ] && [ -f "/bin/wslpath" ]; then # run the corresponding command prompt when Node for Windows is executed within WSL
12
- cmd.exe /c `wslpath -w "$basedir/npm.cmd"` "$@"
13
- exit $?
14
-fi
15
if ! [ -x "$NODE_EXE" ]; then
16
NODE_EXE="$basedir/node"
17
fi
bin/npx
- cmd.exe /c `wslpath -w "$basedir/npx.cmd"` "$@"
NODE_EXE=node
0 commit comments