-
Notifications
You must be signed in to change notification settings - Fork 631
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: skip tests with storage check and return status (#1452)
* chore: cargo update * chore: skip tests with storage check and return error * return println and clippy * revert to previous println
- Loading branch information
Showing
2 changed files
with
17 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,11 @@ | ||
use revme::cmd::MainCmd; | ||
use revme::cmd::{Error, MainCmd}; | ||
use structopt::StructOpt; | ||
|
||
pub fn main() { | ||
pub fn main() -> Result<(), Error> { | ||
let cmd = MainCmd::from_args(); | ||
if let Err(e) = cmd.run() { | ||
println!("{}", e) | ||
println!("{:?}", e); | ||
return Err(e); | ||
} | ||
Ok(()) | ||
} |