Skip to content

Commit 28c9cd2

Browse files
osiewiczJosephTLyons
authored andcommitted
windows: Do not exit from app in dev builds when cli is not found (#39768)
Release Notes: - N/A
1 parent c0651a8 commit 28c9cd2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

crates/zed/src/main.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,9 @@ pub fn main() {
224224
Ok(path) => askpass::set_askpass_program(path),
225225
Err(err) => {
226226
eprintln!("Error: {}", err);
227-
process::exit(1);
227+
if std::option_env!("ZED_BUNDLE").is_some() {
228+
process::exit(1);
229+
}
228230
}
229231
}
230232

0 commit comments

Comments
 (0)