Skip to content

Commit

Permalink
Don't panic on git repository with no remote (#71)
Browse files Browse the repository at this point in the history
  • Loading branch information
Osveron authored Oct 26, 2022
1 parent b565aa5 commit 2861044
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/steps/git.rs
Original file line number Diff line number Diff line change
Expand Up @@ -231,8 +231,7 @@ impl Git {
let results = basic_rt.block_on(async { stream_of_futures.collect::<Vec<Result<()>>>().await });

let error = results.into_iter().find(|r| r.is_err());
error.unwrap()?;
Ok(())
error.unwrap_or(Ok(()))
}
}

Expand Down

0 comments on commit 2861044

Please sign in to comment.