mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-27 13:59:08 +00:00
Exit with error in minimize tool if there was no problem to minimize
This commit is contained in:
parent
f7baa878f2
commit
a83f44188b
2 changed files with 6 additions and 3 deletions
|
@ -31,5 +31,6 @@ fn main() {
|
|||
};
|
||||
|
||||
let text = std::fs::read_to_string(&args[2]).unwrap();
|
||||
print_minimizations(&text, kind);
|
||||
let found_error = print_minimizations(&text, kind);
|
||||
std::process::exit(if found_error { 0 } else { 1 });
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue