chore: clippy + format

This commit is contained in:
Edward Langley
2026-04-04 12:34:50 -07:00
parent 35946afc91
commit c6c8ac2c69
4 changed files with 320 additions and 92 deletions

View File

@ -608,10 +608,8 @@ impl Effect for ImportJsonHeadless {
let raw = if is_csv {
serde_json::Value::Array(records.clone())
} else {
serde_json::from_str(
&std::fs::read_to_string(&self.path).unwrap_or_default(),
)
.unwrap_or(serde_json::Value::Array(records.clone()))
serde_json::from_str(&std::fs::read_to_string(&self.path).unwrap_or_default())
.unwrap_or(serde_json::Value::Array(records.clone()))
};
let pipeline = ImportPipeline {