windows: Do not exit from app in dev builds when cli is not found (#39768)
Release Notes: - N/A
This commit is contained in:
@@ -224,7 +224,9 @@ pub fn main() {
|
||||
Ok(path) => askpass::set_askpass_program(path),
|
||||
Err(err) => {
|
||||
eprintln!("Error: {}", err);
|
||||
process::exit(1);
|
||||
if std::option_env!("ZED_BUNDLE").is_some() {
|
||||
process::exit(1);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user