chore: fix

Signed-off-by: kjuulh <contact@kjuulh.io>
This commit is contained in:
Kasper Juul Hermansen 2023-07-30 22:47:00 +02:00
parent bfad2af1d0
commit 222da3b8c3
Signed by: kjuulh
GPG Key ID: 9AA7BC13CE474394

View File

@ -25,7 +25,7 @@ impl VcsClient {
match self { match self {
VcsClient::Noop {} => {} VcsClient::Noop {} => {}
VcsClient::Git { .. } => { 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"); 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"])?; self.exec_git(&["checkout", "-b", "cuddle-please/release"])?;