Don't write a finishing newline in silent mode (#677)

This commit is contained in:
Nils Hanke 2023-09-15 16:25:04 +02:00 committed by GitHub
parent 02e6a73724
commit 8453335088
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -307,7 +307,9 @@ func (s *Stdoutput) Finalize() error {
s.Error(err.Error()) s.Error(err.Error())
} }
} }
if !s.config.Quiet {
fmt.Fprintf(os.Stderr, "\n") fmt.Fprintf(os.Stderr, "\n")
}
return nil return nil
} }