From 4d497426184b9d71d94377111513342acab256cd Mon Sep 17 00:00:00 2001 From: Craig Loewen Date: Tue, 26 Nov 2019 17:32:33 -0800 Subject: [PATCH] Revert "windows: Add preliminary WSL support for npm and npx" This reverts commit 3471d5200217bfa612b1a262e36c9c043a52eb09. --- bin/npm | 4 ---- bin/npx | 4 ---- 2 files changed, 8 deletions(-) diff --git a/bin/npm b/bin/npm index 737d1f1706489..4183703a7857e 100755 --- a/bin/npm +++ b/bin/npm @@ -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 diff --git a/bin/npx b/bin/npx index 3516c8c415dba..261e339850da5 100644 --- a/bin/npx +++ b/bin/npx @@ -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