Fix test failing due to panic
This commit is contained in:
parent
3d11d7685b
commit
0c7bd12372
1 changed files with 2 additions and 5 deletions
|
@ -57,14 +57,11 @@ fn main() {
|
|||
}
|
||||
|
||||
if let Some(matches) = matches.subcommand_matches("run") {
|
||||
run(matches.clone()).unwrap();
|
||||
run(matches.clone()).unwrap_or_else(|_| std::process::exit(1));
|
||||
}
|
||||
|
||||
if matches.subcommand_matches("verify").is_some() {
|
||||
match verify(None) {
|
||||
Ok(_) => {}
|
||||
Err(_) => std::process::exit(1),
|
||||
}
|
||||
verify(None).unwrap_or_else(|_| std::process::exit(1));
|
||||
}
|
||||
|
||||
if matches.subcommand_matches("watch").is_some() {
|
||||
|
|
Loading…
Reference in a new issue