From 331ae94866d3b54edcf017e557b940feedc03168 Mon Sep 17 00:00:00 2001 From: JenabaBa Date: Mon, 28 Jul 2025 13:34:24 -0700 Subject: [PATCH] remove newline char --- dependency_updater/dependency_updater.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dependency_updater/dependency_updater.go b/dependency_updater/dependency_updater.go index b4607f948..f6f596f10 100644 --- a/dependency_updater/dependency_updater.go +++ b/dependency_updater/dependency_updater.go @@ -134,11 +134,11 @@ func updater(token string, repoPath string, commit bool, githubAction bool) erro func createCommitMessage(updatedDependencies []VersionUpdateInfo, repoPath string, githubAction bool) error { var repos []string commitTitle := "chore: updated " - commitDescription := "Updated dependencies for: \n" + commitDescription := "Updated dependencies for: " for _, dependency := range updatedDependencies { repo, tag := dependency.Repo, dependency.To - commitDescription += repo + " => " + tag + " (" + dependency.DiffUrl + ")" + "\n" + commitDescription += repo + " => " + tag + " (" + dependency.DiffUrl + ") " repos = append(repos, repo) } commitDescription = strings.TrimSuffix(commitDescription, "\n")