-
Notifications
You must be signed in to change notification settings - Fork 758
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
src/goDebugConfiguration.ts: replace resolvePath with resolveHomeDir
Dlv may fail if we pass a cwd containing '~', so when we resolve the debug configuration we resolved '~' using resolvePath. However this also resolved vscode specific information, which vscode would take care of later. Replacing with resolveHomeDir fixes the problem, without modifying the path in any additional way which may lead to unexpected behavior. Fixes #1448 Change-Id: Id5f993f2aa88205b3bdfa986f3b9a020806f97b2 Reviewed-on: https://go-review.googlesource.com/c/vscode-go/+/312690 Trust: Suzy Mueller <[email protected]> Run-TryBot: Suzy Mueller <[email protected]> TryBot-Result: kokoro <[email protected]> Reviewed-by: Hyang-Ah Hana Kim <[email protected]>
- Loading branch information
Showing
2 changed files
with
36 additions
and
2 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