Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

debugger: Fix wrong path to the downloaded delve-shim-dap (#31738)

Piotr Osiewicz5462e199fbd3
diff --git a/crates/dap_adapters/src/go.rs b/crates/dap_adapters/src/go.rs
index 66759225f38..29501c75444 100644
--- a/crates/dap_adapters/src/go.rs
+++ b/crates/dap_adapters/src/go.rs
@@ -76,7 +76,7 @@ impl GoDebugAdapter {
let path = paths::debug_adapters_dir()
.join("delve-shim-dap")
- .join(format!("delve-shim-dap{}", asset.tag_name))
+ .join(format!("delve-shim-dap_{}", asset.tag_name))
.join(format!("delve-shim-dap{}", std::env::consts::EXE_SUFFIX));
self.shim_path.set(path.clone()).ok();