Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
src/goEnvironmentStatus.ts: use vscode.env.shell to determine shell type
When the callback for vscode.window.onDidOpenTerminal is called terminal.name is typically unset and can change during launch. The API for vscode.env.shell has stabilized so we can use that value instead. Removed support for windows shells, as this code path only runs on macOS. Fixes golang#2283. Change-Id: I62517812ddc194393ed36c89dc6fd13f4ef77b71 Reviewed-on: https://go-review.googlesource.com/c/vscode-go/+/412314 Reviewed-by: Hyang-Ah Hana Kim <[email protected]> Run-TryBot: Jamal Carvalho <[email protected]> TryBot-Result: kokoro <[email protected]>
- Loading branch information