mirror of
https://github.com/Microsoft/vscode
synced 2024-10-12 06:17:18 +00:00
Launching "code" from git bash fails with "cannot find module" error. Fixes #58950
This commit is contained in:
parent
315299eddf
commit
9588b6fe87
|
@ -20,7 +20,7 @@ if grep -q Microsoft /proc/version; then
|
|||
"$ELECTRON" "$@"
|
||||
exit $?
|
||||
fi
|
||||
elif [ "$(expr substr $(uname -s) 1 9)" == "CYGWIN_NT" ]; then
|
||||
elif [ -x "$(command -v cygpath)" ]; then
|
||||
CLI=$(cygpath -m "$VSCODE_PATH/resources/app/out/cli.js")
|
||||
else
|
||||
CLI="$VSCODE_PATH/resources/app/out/cli.js"
|
||||
|
|
Loading…
Reference in a new issue