-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Handle absolute path when creating terminal
On WSL (Ubuntu 22.04, more specifically) the terminal would fail to launch with a "The terminal process failed to launch". This is happening because the workspace path is being returned as a relative path, but `vscode.window.createTerminal` expects an absolute `cwd` parameter. We solved that by simply appending a `/` at the front of the path in case it doesn't have one yet. Closes #33
- Loading branch information
1 parent
825550f
commit 2430afb
Showing
2 changed files
with
17 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters