Don't panic on git repository with no remote (#71)
This commit is contained in:
@@ -231,8 +231,7 @@ impl Git {
|
|||||||
let results = basic_rt.block_on(async { stream_of_futures.collect::<Vec<Result<()>>>().await });
|
let results = basic_rt.block_on(async { stream_of_futures.collect::<Vec<Result<()>>>().await });
|
||||||
|
|
||||||
let error = results.into_iter().find(|r| r.is_err());
|
let error = results.into_iter().find(|r| r.is_err());
|
||||||
error.unwrap()?;
|
error.unwrap_or(Ok(()))
|
||||||
Ok(())
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user