diff --git a/schemsearch-cli/src/sinks.rs b/schemsearch-cli/src/sinks.rs old mode 100644 new mode 100755 index 6c81f59..ac28a86 --- a/schemsearch-cli/src/sinks.rs +++ b/schemsearch-cli/src/sinks.rs @@ -71,7 +71,7 @@ impl OutputFormat { pub fn start(&self, total: u32, search_behavior: &SearchBehavior, start_time: u128) -> String { match self { OutputFormat::Text => format!("Starting search in {} schematics\n", total), - OutputFormat::CSV => format!("Name,X,Y,Z,Percent\n"), + OutputFormat::CSV => "Name,X,Y,Z,Percent\n".to_owned(), OutputFormat::JSON => format!("{}\n", serde_json::to_string(&JsonEvent::Init(InitEvent { total, search_behavior: search_behavior.clone(),