Make ShellBuilder::new not branch on a remote shell (#39493)
Release Notes: - Fixed claude code agent login on remotes Co-authored-by: Max Brunsfeld <max@zed.dev> Co-authored-by: Cole Miller <cole@zed.dev>
This commit is contained in:
co-authored by
Max Brunsfeld
Cole Miller
parent
4443f61c16
commit
2859cbdba9
@@ -117,7 +117,7 @@ impl DapLocator for CargoLocator {
|
||||
.cwd
|
||||
.clone()
|
||||
.context("Couldn't get cwd from debug config which is needed for locators")?;
|
||||
let builder = ShellBuilder::new(None, &build_config.shell).non_interactive();
|
||||
let builder = ShellBuilder::new(&build_config.shell).non_interactive();
|
||||
let (program, args) = builder.build(
|
||||
Some("cargo".into()),
|
||||
&build_config
|
||||
|
||||
Reference in New Issue
Block a user