diff --git a/internal/config/config.go b/internal/config/config.go index 545cec84d..fdc9a8753 100644 --- a/internal/config/config.go +++ b/internal/config/config.go @@ -356,7 +356,7 @@ func printConfig(name string, p printer, op string, commented bool) { fmt.Print("\n") continue } - fmt.Print(comment + line + "\n") + fmt.Print(strings.TrimRight(comment+line, " ") + "\n") } } }