From 59833a81c80765e20fc412f3fdbe307c40253d19 Mon Sep 17 00:00:00 2001 From: emmmm <155267286+eeemmmmmm@users.noreply.github.com> Date: Mon, 8 Sep 2025 14:43:54 +0200 Subject: [PATCH] Remove redundant !githubAction check in else if statement. --- dependency_updater/dependency_updater.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dependency_updater/dependency_updater.go b/dependency_updater/dependency_updater.go index 74b0760f..5b4d6a02 100644 --- a/dependency_updater/dependency_updater.go +++ b/dependency_updater/dependency_updater.go @@ -149,7 +149,7 @@ func createCommitMessage(updatedDependencies []VersionUpdateInfo, repoPath strin if err != nil { return fmt.Errorf("error creating git commit message: %s", err) } - } else if !githubAction { + } else { cmd := exec.Command("git", "commit", "-am", commitTitle, "-m", commitDescription) if err := cmd.Run(); err != nil { return fmt.Errorf("failed to run git commit -m: %s", err)