Skip to content

Commit f45c538

Browse files
skarimCopilot
andauthored
use template as-is without trimming
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
1 parent 63439c6 commit f45c538

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

internal/pr/template.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ func FindTemplate(repoRoot string) string {
2626
if err != nil {
2727
continue
2828
}
29-
content := strings.TrimSpace(string(data))
30-
if content != "" {
29+
content := string(data)
30+
if strings.TrimSpace(content) != "" {
3131
return content
3232
}
3333
}

0 commit comments

Comments
 (0)