Revert "Use ShellKind::try_quote whenever we need to quote shell args" (#41022)

Reverts zed-industries/zed#40912

Closes https://github.com/zed-industries/zed/issues/41010
This commit is contained in:
Jakub Konka
2025-10-23 16:06:47 +00:00
committed by GitHub
parent 738e248109
commit 023ac1b649
22 changed files with 232 additions and 317 deletions
+1 -1
View File
@@ -774,7 +774,7 @@ impl HeadlessProject {
envelope: TypedEnvelope<proto::GetDirectoryEnvironment>,
mut cx: AsyncApp,
) -> Result<proto::DirectoryEnvironment> {
let shell = task::shell_from_proto(envelope.payload.shell.context("missing shell")?)?;
let shell = task::Shell::from_proto(envelope.payload.shell.context("missing shell")?)?;
let directory = PathBuf::from(envelope.payload.directory);
let environment = this
.update(&mut cx, |this, cx| {