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:
@ -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)
|
||||
|
Reference in New Issue
Block a user