Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorCraig Loewen <crloewen@microsoft.com>2019-11-27 04:32:33 +0300
committerMichael Perrotte <mike@npmjs.com>2019-12-02 21:16:01 +0300
commitd480f2c176e6976b3cca3565e4c108b599b0379b (patch)
treecbedea281c0377a9085defbb7eef2547d74a32cc /bin
parentb829d62c98506325d2afb2d85d191a8ff1c49157 (diff)
Revert "windows: Add preliminary WSL support for npm and npx"
This reverts commit 3471d5200217bfa612b1a262e36c9c043a52eb09. PR-URL: https://github.com/npm/cli/pull/527 Credit: @craigloewen-msft Close: #527 Reviewed-by: @mikemimik
Diffstat (limited to 'bin')
-rwxr-xr-xbin/npm4
-rw-r--r--bin/npx4
2 files changed, 0 insertions, 8 deletions
diff --git a/bin/npm b/bin/npm
index 737d1f170..4183703a7 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 3516c8c41..261e33985 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