Skip to content

Commit 44942a3

Browse files
committed
change variable name
1 parent b2016b7 commit 44942a3

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

dependency_updater/dependency_updater.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -125,10 +125,10 @@ func updater(token string, repoPath string, commit bool) error {
125125
func createCommitMessage(updatedDependencies [][]string) error {
126126
commitTitle := "chore: updated "
127127
var commitDescription = "Updated dependencies for: \n"
128-
for _, dependencies := range updatedDependencies {
129-
if len(dependencies) != 0 {
130-
repo, tag := dependencies[0], dependencies[1]
131-
commitDescription += repo + " => " + tag + " (" + dependencies[2] + ")" + "\n"
128+
for _, dependency := range updatedDependencies {
129+
if len(dependency) != 0 {
130+
repo, tag := dependency[0], dependency[1]
131+
commitDescription += repo + " => " + tag + " (" + dependency[2] + ")" + "\n"
132132
commitTitle += repo + ", "
133133
}
134134
}

0 commit comments

Comments
 (0)