Skip to content

Commit 5e8ef57

Browse files
authored
remove newline char (#515)
1 parent 13c0c68 commit 5e8ef57

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dependency_updater/dependency_updater.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,11 +134,11 @@ func updater(token string, repoPath string, commit bool, githubAction bool) erro
134134
func createCommitMessage(updatedDependencies []VersionUpdateInfo, repoPath string, githubAction bool) error {
135135
var repos []string
136136
commitTitle := "chore: updated "
137-
commitDescription := "Updated dependencies for: \n"
137+
commitDescription := "Updated dependencies for: "
138138

139139
for _, dependency := range updatedDependencies {
140140
repo, tag := dependency.Repo, dependency.To
141-
commitDescription += repo + " => " + tag + " (" + dependency.DiffUrl + ")" + "\n"
141+
commitDescription += repo + " => " + tag + " (" + dependency.DiffUrl + ") "
142142
repos = append(repos, repo)
143143
}
144144
commitDescription = strings.TrimSuffix(commitDescription, "\n")

0 commit comments

Comments
 (0)