Don't panic on git repository with no remote (#71)

This commit is contained in:
Kamil Borsuk
2022-10-26 11:21:57 +02:00
committed by GitHub
parent b565aa5f71
commit 2861044501

View File

@@ -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(()))
}
}