Skip to content

Commit

Permalink
Revert "windows: Add preliminary WSL support for npm and npx"
Browse files Browse the repository at this point in the history
This reverts commit 3471d52.

PR-URL: #527
Credit: @craigloewen-msft
Close: #527
Reviewed-by: @mikemimik
  • Loading branch information
craigloewen-msft authored and Michael Perrotte committed Dec 2, 2019
1 parent b829d62 commit d480f2c
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
4 changes: 0 additions & 4 deletions bin/npm
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,6 @@ 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/npm.cmd"` "$@"
exit $?
fi
if ! [ -x "$NODE_EXE" ]; then
NODE_EXE="$basedir/node"
fi
Expand Down
4 changes: 0 additions & 4 deletions bin/npx
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,6 @@ 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
Expand Down

0 comments on commit d480f2c

Please sign in to comment.