Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weโ€™ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[PM-15176] Add newline to fix commit markdown formatting #120

Merged
merged 1 commit into from
Dec 11, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions metascoop/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ func main() {

// Add details section for each app. E.g., "## Bitwarden" or "## Bitwarden Beta".
for application, appReleases := range appReleasesMap {
commitMsg.WriteString(fmt.Sprintf("<details>\n<summary>%s</summary>\n", application.Name))
commitMsg.WriteString(fmt.Sprintf("#### %s\n\n", application.Name))

// Add links to each release of the app. E.g., "- [v2024.11.0](https://github.com/bitwarden/android/releases/v2024.11.0)".
for i, appRelease := range appReleases {
Expand All @@ -248,8 +248,6 @@ func main() {
}
commitMsg.WriteString("\n")
}
// Close details tag.
commitMsg.WriteString("</details>\n\n")
}
}
} else {
Expand Down Expand Up @@ -541,7 +539,7 @@ func main() {
commitMsg.WriteString("## Metadata updates:\n\n")
}
commitMsg.WriteString("We performed updates to repository metadata files.\n")
commitMsg.WriteString("<details>\n<summary>See what changed</summary>\n")
commitMsg.WriteString("<details>\n<summary>See what changed</summary>\n\n")
for _, fname := range modifiedFiles {
commitMsg.WriteString(fmt.Sprintf(" - %s\n", fname))
}
Expand Down