summaryrefslogtreecommitdiffstats
path: root/pkg/utils/utils.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/utils/utils.go')
-rw-r--r--pkg/utils/utils.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/utils/utils.go b/pkg/utils/utils.go
index f56ea8884..511de1af1 100644
--- a/pkg/utils/utils.go
+++ b/pkg/utils/utils.go
@@ -66,7 +66,7 @@ func TrimTrailingNewline(str string) string {
// NormalizeLinefeeds - Removes all Windows and Mac style line feeds
func NormalizeLinefeeds(str string) string {
- str = strings.Replace(str, "\r\n", "", -1)
+ str = strings.Replace(str, "\r\n", "\n", -1)
str = strings.Replace(str, "\r", "", -1)
return str
}