mirror of
https://github.com/microsoft/vscode.git
synced 2025-12-24 20:26:08 +00:00
Launching "code" from git bash fails with "cannot find module" error. Fixes #58950
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user