chore: clippy + fmt
This commit is contained in:
@ -175,7 +175,9 @@ fn import_headless(
|
||||
model_name: Option<&str>,
|
||||
array_path: Option<&str>,
|
||||
) -> CommandResult {
|
||||
let is_csv = path.extension().is_some_and(|ext| ext.eq_ignore_ascii_case("csv"));
|
||||
let is_csv = path
|
||||
.extension()
|
||||
.is_some_and(|ext| ext.eq_ignore_ascii_case("csv"));
|
||||
|
||||
let records = if is_csv {
|
||||
// Parse CSV file
|
||||
|
||||
Reference in New Issue
Block a user