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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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)