We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 67bf6a8 commit 3e059fcCopy full SHA for 3e059fc
1 file changed
hooks/jsonnet-fmt-hook/main.go
@@ -76,7 +76,7 @@ func summarizeDiff(diffs []diffmatchpatch.Diff) *FileDiff {
76
}
77
78
splitLines := func(text string) []string {
79
- return strings.Split(strings.TrimSpace(strings.ReplaceAll(text, "\r\n", "\n")), "\n")
+ return strings.Split(strings.ReplaceAll(text, "\r\n", "\n"), "\n")
80
81
82
const maxShowLine = 3
0 commit comments