From 798e32cb83603227513d68da5d55bce464bc595a Mon Sep 17 00:00:00 2001 From: Martin Aeschlimann Date: Thu, 19 Sep 2019 16:15:13 +0200 Subject: [PATCH] code.sh: pipe error still printed. For https://github.com/microsoft/vscode-remote-release/issues/1420 --- resources/win32/bin/code.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/win32/bin/code.sh b/resources/win32/bin/code.sh index 43aaa25a96e..66e11adc2f0 100644 --- a/resources/win32/bin/code.sh +++ b/resources/win32/bin/code.sh @@ -34,7 +34,7 @@ if grep -qi Microsoft /proc/version; then WSL_EXT_WLOC=$(cmd.exe /C type %TEMP%\\remote-wsl-loc.txt) cd "$CWD" else - ELECTRON_RUN_AS_NODE=1 "$ELECTRON" "$CLI" --locate-extension $WSL_EXT_ID >/tmp/remote-wsl-loc.txt + ELECTRON_RUN_AS_NODE=1 "$ELECTRON" "$CLI" --locate-extension $WSL_EXT_ID >/tmp/remote-wsl-loc.txt 2>/dev/null WSL_EXT_WLOC=$(cat /tmp/remote-wsl-loc.txt) fi if [ -n "$WSL_EXT_WLOC" ]; then