diff --git a/schemsearch-cli/src/main.rs b/schemsearch-cli/src/main.rs index db89abf..2faa752 100644 --- a/schemsearch-cli/src/main.rs +++ b/schemsearch-cli/src/main.rs @@ -271,9 +271,7 @@ fn main() { } } 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()); SearchResult { name: schem.get_name(), matches: vec![] diff --git a/schemsearch-cli/src/types.rs b/schemsearch-cli/src/types.rs index ee0451f..c2127c7 100644 --- a/schemsearch-cli/src/types.rs +++ b/schemsearch-cli/src/types.rs @@ -18,6 +18,7 @@ use std::path::PathBuf; #[cfg(feature = "sql")] use futures::executor::block_on; +use schemsearch_files::Schematic; #[cfg(feature = "sql")] use schemsearch_sql::{load_schemdata, SchematicNode};