Skip to content

Commit

Permalink
chore:(derive/readlen): return an anyhow::Ok instead of plain Ok
Browse files Browse the repository at this point in the history
  • Loading branch information
a-frantz committed Dec 16, 2023
1 parent 55ee258 commit 35ccc3f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/derive/command/readlen.rs
Original file line number Diff line number Diff line change
Expand Up @@ -82,5 +82,5 @@ pub fn derive(args: DeriveReadlenArgs) -> anyhow::Result<()> {
let output = serde_json::to_string_pretty(&result).unwrap();
print!("{}", output);

Ok(())
anyhow::Ok(())
}
2 changes: 1 addition & 1 deletion src/derive/readlen/compute.rs
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ pub fn predict(
result.consensus_read_length = Some(consensus_read_length);
}

Ok(result)
anyhow::Ok(result)
}

#[cfg(test)]
Expand Down

0 comments on commit 35ccc3f

Please sign in to comment.