Skip to content

Commit

Permalink
fix: tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Tricked-dev committed Oct 22, 2021
1 parent a3a3eee commit d439bcd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/commands/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ pub async fn handle_match(data: ArgMatches) -> Result<()> {
ctrlc::set_handler(move || {
print_results();
process::exit(101)
})?;
})
.unwrap_or_default();
let result = match data.subcommand() {
Some(("add", args)) => add::exec(args).await,
Some(("cache", _)) => cache::exec(),
Expand Down

0 comments on commit d439bcd

Please sign in to comment.