Exit with code 1 on check failures.
All checks were successful
continuous-integration/drone the build was successful
All checks were successful
continuous-integration/drone the build was successful
Closes #51.
This commit is contained in:
parent
f86b37845a
commit
ed758a8eaf
@ -162,6 +162,7 @@ fn main() -> anyhow::Result<()> {
|
|||||||
|
|
||||||
if error_count > 0 {
|
if error_count > 0 {
|
||||||
eprintln!("THERE ARE {} ERRORS.", error_count);
|
eprintln!("THERE ARE {} ERRORS.", error_count);
|
||||||
|
std::process::exit(1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
PileCommand::Init {} => {
|
PileCommand::Init {} => {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user