Bail and signal error when the cwd of a resolved task doesn't exist (#32777)

Closes #32688

Release Notes:

- Fixed tasks (including build tasks for debug configurations) silently
using `/` as a working directory when the specified `cwd` didn't exist.
This commit is contained in:
Cole Miller
2025-06-16 16:59:49 -04:00
committed by GitHub
parent 0f0ff40c6d
commit 22a2ff4f12
6 changed files with 54 additions and 4 deletions
+1 -1
View File
@@ -135,7 +135,7 @@ pub trait TerminalProvider {
&self,
task: SpawnInTerminal,
window: &mut Window,
cx: &mut App,
cx: &mut Context<Workspace>,
) -> Task<Option<Result<ExitStatus>>>;
}