mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2024-11-10 09:12:47 +08:00
BUG: --full outputs an extra newline when skipping providers (#2730)
This commit is contained in:
parent
258654532a
commit
1ebe4404d1
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue