diff --git a/crates/cuddle-please/src/git_client.rs b/crates/cuddle-please/src/git_client.rs index 3a2b826..f3f61e9 100644 --- a/crates/cuddle-please/src/git_client.rs +++ b/crates/cuddle-please/src/git_client.rs @@ -25,7 +25,7 @@ impl VcsClient { match self { VcsClient::Noop {} => {} VcsClient::Git { .. } => { - if let Err(e) = self.exec_git(&["branch", "-D", "cuddle-please/release"]) { + if let Err(_e) = self.exec_git(&["branch", "-D", "cuddle-please/release"]) { tracing::debug!("failed to cleaned up local branch for force-push, this may be because it didn't exist before running this command"); } self.exec_git(&["checkout", "-b", "cuddle-please/release"])?;