treewide: cleanup
Signed-off-by: NotAShelf <raf@notashelf.dev> Change-Id: Ia01590cdeed872cc8ebd16f6ca95f3cc6a6a6964
This commit is contained in:
parent
0ba898c881
commit
185e3b562a
16 changed files with 258 additions and 219 deletions
|
|
@ -42,7 +42,9 @@ pub async fn export_library(
|
|||
match format {
|
||||
ExportFormat::Json => {
|
||||
let json = serde_json::to_string_pretty(&items).map_err(|e| {
|
||||
crate::error::PinakesError::Serialization(format!("json serialize: {e}"))
|
||||
crate::error::PinakesError::Serialization(format!(
|
||||
"json serialize: {e}"
|
||||
))
|
||||
})?;
|
||||
std::fs::write(destination, json)?;
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue