Skip to content

Commit d480f2c

Browse files
craigloewen-msftMichael Perrotte
authored and
Michael Perrotte
committedDec 2, 2019
Revert "windows: Add preliminary WSL support for npm and npx"
This reverts commit 3471d52. PR-URL: #527 Credit: @craigloewen-msft Close: #527 Reviewed-by: @mikemimik
1 parent b829d62 commit d480f2c

File tree

2 files changed

+0
-8
lines changed

2 files changed

+0
-8
lines changed
 

‎bin/npm

-4
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,6 @@ case `uname` in
88
esac
99

1010
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
1511
if ! [ -x "$NODE_EXE" ]; then
1612
NODE_EXE="$basedir/node"
1713
fi

‎bin/npx

-4
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,6 @@ case `uname` in
88
esac
99

1010
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/npx.cmd"` "$@"
13-
exit $?
14-
fi
1511
if ! [ -x "$NODE_EXE" ]; then
1612
NODE_EXE=node
1713
fi

0 commit comments

Comments
 (0)
Please sign in to comment.