Don't print config with trailing whitespace
This commit is contained in:
@@ -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")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user