Skip to content

Commit 92cdf32

Browse files
suzmuehyangah
authored andcommitted
[release] src/goInstallTools: remove dlv-dap from missing tools
We hoped to use missing analysis tools to prompt users to update dlv-dap since we want users to be using master. This results in the Missing Analysis Tools notification to be constantly displayed, which is distracting. We should replace this with other update logic to keep users getting updates. Change-Id: I71a99dc0e47ce1447acec2cda223ab10e3f3100e Reviewed-on: https://go-review.googlesource.com/c/vscode-go/+/306990 Trust: Suzy Mueller <[email protected]> Run-TryBot: Suzy Mueller <[email protected]> TryBot-Result: kokoro <[email protected]> Reviewed-by: Hyang-Ah Hana Kim <[email protected]> (cherry picked from commit d9fca4d) Reviewed-on: https://go-review.googlesource.com/c/vscode-go/+/306970
1 parent dcb1b4b commit 92cdf32

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

src/goInstallTools.ts

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -568,17 +568,6 @@ function getMissingTools(goVersion: GoVersion): Promise<Tool[]> {
568568
(tool) =>
569569
new Promise<Tool>((resolve, reject) => {
570570
const toolPath = getBinPath(tool.name);
571-
if (tool.name === 'dlv-dap') {
572-
// Check if user already has dlv-dap binary.
573-
// If so, it's likely the user may be interested in updating the tool,
574-
// so we should mark it as important and return as a missing tool.
575-
if (path.isAbsolute(toolPath)) {
576-
tool.isImportant = true;
577-
resolve(tool);
578-
return;
579-
}
580-
tool.isImportant = false;
581-
}
582571
resolve(path.isAbsolute(toolPath) ? null : tool);
583572
})
584573
)

0 commit comments

Comments
 (0)