1
0
mirror of https://github.com/StackExchange/dnscontrol.git synced 2024-05-11 05:55:12 +00:00

BUG: --full outputs an extra newline when skipping providers (#2730)

This commit is contained in:
Tom Limoncelli
2023-12-18 12:55:49 -05:00
committed by GitHub
parent 258654532a
commit 1ebe4404d1

View File

@ -129,7 +129,7 @@ func (c ConsolePrinter) EndCorrection(err error) {
func (c ConsolePrinter) StartDNSProvider(provider string, skip bool) {
lbl := ""
if skip {
lbl = " (skipping)\n"
lbl = " (skipping)"
}
if !SkinnyReport {
fmt.Fprintf(c.Writer, "----- DNS Provider: %s...%s\n", provider, lbl)
@ -140,7 +140,7 @@ func (c ConsolePrinter) StartDNSProvider(provider string, skip bool) {
func (c ConsolePrinter) StartRegistrar(provider string, skip bool) {
lbl := ""
if skip {
lbl = " (skipping)\n"
lbl = " (skipping)"
}
if !SkinnyReport {
fmt.Fprintf(c.Writer, "----- Registrar: %s...%s\n", provider, lbl)