1
0
Dieser Commit ist enthalten in:
Chaoscaot 2023-03-09 21:18:20 +01:00
Ursprung 6a24fc5410
Commit dd3e3a3c78

Datei anzeigen

@ -258,6 +258,7 @@ fn main() {
search_schempath(search_behavior, &pattern, &mut output_std, &mut output_std_csv, &mut output_file_csv, &mut output_file, &mut lock, &mut file_out, schematic, schem.get_name()); search_schempath(search_behavior, &pattern, &mut output_std, &mut output_std_csv, &mut output_file_csv, &mut output_file, &mut lock, &mut file_out, schematic, schem.get_name());
} }
Err(e) => { Err(e) => {
if !output_std && !output_std_csv {
println!("Error while loading schematic ({}): {}", schem.get_name(), e.to_string()); println!("Error while loading schematic ({}): {}", schem.get_name(), e.to_string());
} }
} }
@ -265,6 +266,7 @@ fn main() {
} }
} }
} }
}
fn load_schem(cmd: &mut Command, schem_path: &Path) -> Schematic { fn load_schem(cmd: &mut Command, schem_path: &Path) -> Schematic {
match Schematic::load(schem_path) { match Schematic::load(schem_path) {