Skip to content

Commit

Permalink
Get rid of an unwrap()
Browse files Browse the repository at this point in the history
  • Loading branch information
jwodder committed Oct 19, 2023
1 parent a80af74 commit 4237f66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ impl Command {
let mut rng = rand::thread_rng();
for r in repos {
log::info!("Applying profile {:?} to repository {}", profile.name, r);
let mut maker = client.get_label_maker(r, &mut rng, dry_run).await.unwrap();
let mut maker = client.get_label_maker(r, &mut rng, dry_run).await?;
maker.make(&profile.specs).await?;
}
Ok(())
Expand Down

0 comments on commit 4237f66

Please sign in to comment.