提交 9588b6fe 编写于 作者: M Martin Aeschlimann

Launching "code" from git bash fails with "cannot find module" error. Fixes #58950

上级 315299ed
......@@ -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"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册