chore: don't log success
This commit is contained in:
parent
ee9cc53540
commit
223dd426c6
1 changed files with 2 additions and 7 deletions
|
@ -184,18 +184,13 @@ pub async fn advance_main(
|
||||||
git: Git,
|
git: Git,
|
||||||
) {
|
) {
|
||||||
info!("Advancing main to next");
|
info!("Advancing main to next");
|
||||||
match git.reset(
|
if let Err(err) = git.reset(
|
||||||
&repo_config.branches().main(),
|
&repo_config.branches().main(),
|
||||||
next.into(),
|
next.into(),
|
||||||
ResetForce::None,
|
ResetForce::None,
|
||||||
&repo_details,
|
&repo_details,
|
||||||
) {
|
) {
|
||||||
Ok(_) => {
|
warn!(?err, "Failed")
|
||||||
info!("Success");
|
|
||||||
}
|
|
||||||
Err(err) => {
|
|
||||||
warn!(?err, "Failed")
|
|
||||||
}
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue