diff --git a/hive-c0re/src/lifecycle.rs b/hive-c0re/src/lifecycle.rs index 2bedff0..3acee14 100644 --- a/hive-c0re/src/lifecycle.rs +++ b/hive-c0re/src/lifecycle.rs @@ -163,10 +163,7 @@ pub async fn apply_commit(config_dir: &Path, commit_ref: &str) -> Result<()> { .await .with_context(|| format!("git cat-file in {}", config_dir.display()))?; if !st.success() { - bail!( - "commit {commit_ref} not found in {}", - config_dir.display() - ); + bail!("commit {commit_ref} not found in {}", config_dir.display()); } git(config_dir, &["update-ref", "refs/heads/main", commit_ref]).await?; git(config_dir, &["reset", "--hard", commit_ref]).await?;