-
Notifications
You must be signed in to change notification settings - Fork 752
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[release] src/goPath: remove dependency on util that depends on vscode
golang.org/cl/239697 accidentally added the new dependency on util - to find the value of go.goroot, which broke the debug adapter that runs outside vscode. Made getBinPathWithPreferredGopath accept a preferredGoroot param, and renamed the function to reflect this change. We need to remove any dependency from src/debugAdapter to src to avoid a similar bug in the future. We need to have a test, using the built extension. Updates #137. Change-Id: I586438f1f391aaff0c0cdc806de1e9f3fd5deba9 Reviewed-on: https://go-review.googlesource.com/c/vscode-go/+/240097 Reviewed-by: Rebecca Stambler <[email protected]> (cherry picked from commit b9d1bad) Reviewed-on: https://go-review.googlesource.com/c/vscode-go/+/240117
- Loading branch information
Showing
3 changed files
with
12 additions
and
10 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
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