chore: don't log success

This commit is contained in:
Paul Campbell 2024-04-12 19:43:21 +01:00
parent ee9cc53540
commit 223dd426c6

View file

@ -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")
}
}; };
} }