Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows: Add preliminary WSL support for npm and npx #253

Closed
wants to merge 7 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix: spelling within npx
  • Loading branch information
infinnie authored Sep 20, 2019
commit 00fe2a0874ba3bab08fa1751f4251acaa8949eaa
2 changes: 1 addition & 1 deletion bin/npx
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ case `uname` in
esac

if [ isexe==1 ] && [ -f "/bin/wslpath" ]; then # normalize path back to Windows path
NPM_CLI_JS=`wslpath -w "$NPM_CLI_JS"`
NPX_CLI_JS=`wslpath -w "$NPX_CLI_JS"`
fi

"$NODE_EXE" "$NPX_CLI_JS" "$@"