Skip to content

Commit 798e32c

Browse files
committed
code.sh: pipe error still printed. For microsoft/vscode-remote-release#1420
1 parent a9c67d8 commit 798e32c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

resources/win32/bin/code.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ if grep -qi Microsoft /proc/version; then
3434
WSL_EXT_WLOC=$(cmd.exe /C type %TEMP%\\remote-wsl-loc.txt)
3535
cd "$CWD"
3636
else
37-
ELECTRON_RUN_AS_NODE=1 "$ELECTRON" "$CLI" --locate-extension $WSL_EXT_ID >/tmp/remote-wsl-loc.txt
37+
ELECTRON_RUN_AS_NODE=1 "$ELECTRON" "$CLI" --locate-extension $WSL_EXT_ID >/tmp/remote-wsl-loc.txt 2>/dev/null
3838
WSL_EXT_WLOC=$(cat /tmp/remote-wsl-loc.txt)
3939
fi
4040
if [ -n "$WSL_EXT_WLOC" ]; then

0 commit comments

Comments
 (0)