refactor: don't trim newline if we are going to Println anyway

Just use `Print` with the newline
This commit is contained in:
Maas Lalani 2022-09-02 14:37:26 -04:00
parent 73518ef21b
commit 81602545a6
No known key found for this signature in database
GPG key ID: 5A6ED5CBF1A0A000

View file

@ -98,7 +98,7 @@ func (o Options) Run() error {
}
}
fmt.Println(strings.TrimSuffix(s.String(), "\n"))
fmt.Print(s.String())
return nil
}