diff --git a/src/cli/logs.rs b/src/cli/logs.rs index 001f478..d0fad82 100644 --- a/src/cli/logs.rs +++ b/src/cli/logs.rs @@ -92,7 +92,7 @@ fn merge_log_lines(name: &str, lines: Vec) -> Vec<(String, String, Strin }) } -fn get_log_file_infos(names: &Vec) -> Result> { +fn get_log_file_infos(names: &[String]) -> Result> { let names = names.iter().collect::>(); xx::file::ls(&*env::PITCHFORK_LOGS_DIR)? .into_iter()