Skip to content

Commit

Permalink
fix(spans-visual): all harper-cli commands exit success when done
Browse files Browse the repository at this point in the history
  • Loading branch information
grantlemons committed Dec 20, 2024
1 parent 47b12be commit bfffc05
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions harper-cli/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ fn main() -> anyhow::Result<()> {
let report = report_builder.finish();
report.print((&filename, Source::from(source)))?;

std::process::exit(1);
Ok(())
}
Args::Parse { file } => {
let (doc, _) = load_file(&file)?;
Expand Down Expand Up @@ -120,7 +120,7 @@ fn main() -> anyhow::Result<()> {
let report = report_builder.finish();
report.print((&filename, Source::from(source)))?;

std::process::exit(1);
Ok(())
}
Args::Words => {
let dict = FstDictionary::curated();
Expand Down

0 comments on commit bfffc05

Please sign in to comment.