Skip to content

Commit 9f3da7f

Browse files
authored
Remove redundant !githubAction check in else if statement. (#541)
1 parent 9f47c92 commit 9f3da7f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

dependency_updater/dependency_updater.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ func createCommitMessage(updatedDependencies []VersionUpdateInfo, repoPath strin
152152
if err != nil {
153153
return fmt.Errorf("error creating git commit message: %s", err)
154154
}
155-
} else if !githubAction {
155+
} else {
156156
cmd := exec.Command("git", "commit", "-am", commitTitle, "-m", commitDescription)
157157
if err := cmd.Run(); err != nil {
158158
return fmt.Errorf("failed to run git commit -m: %s", err)

0 commit comments

Comments
 (0)