Don't print config with trailing whitespace

This commit is contained in:
Cameron Sparr 2016-05-31 16:25:02 +01:00
parent 892abec025
commit bd1282eddf
1 changed files with 1 additions and 1 deletions

View File

@ -356,7 +356,7 @@ func printConfig(name string, p printer, op string, commented bool) {
fmt.Print("\n") fmt.Print("\n")
continue continue
} }
fmt.Print(comment + line + "\n") fmt.Print(strings.TrimRight(comment+line, " ") + "\n")
} }
} }
} }