mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-03 22:46:48 -05:00
code.sh is broken in WSL after commit "run code wsl in dev ". Fixes #72263
This commit is contained in:
@@ -59,7 +59,7 @@ function code-wsl()
|
||||
{
|
||||
# in a wsl shell
|
||||
local WIN_CODE_CLI_CMD=$(wslpath -w "$ROOT/scripts/code-cli.bat")
|
||||
if [ -z "$WSL_EXT_WLOC" ]; then
|
||||
if ! [ -z "$WIN_CODE_CLI_CMD" ]; then
|
||||
local WSL_EXT_ID="ms-vscode.remote-wsl"
|
||||
local WSL_EXT_WLOC=$(cmd.exe /c "$WIN_CODE_CLI_CMD" --locate-extension $WSL_EXT_ID)
|
||||
if ! [ -z "$WSL_EXT_WLOC" ]; then
|
||||
|
||||
Reference in New Issue
Block a user