Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
debugger: Fix go locator creating false scenarios (#31583)
Anthony Eidfee6f1388790
diff --git a/crates/project/src/debugger/locators/go.rs b/crates/project/src/debugger/locators/go.rsindex 3b905cce910..fe7b306e3bd 100644--- a/crates/project/src/debugger/locators/go.rs+++ b/crates/project/src/debugger/locators/go.rs@@ -23,6 +23,10 @@ impl DapLocator for GoLocator {resolved_label: &str,adapter: DebugAdapterName,) -> Option<DebugScenario> {+ if build_config.command != "go" {+ return None;+ }+let go_action = build_config.args.first()?;match go_action.as_str() {