Add new line after error (#5124)

* Add new line

* Fix syntax for adding new line

* Add `\n` to another error
This commit is contained in:
Audree Steinberg 2022-01-31 23:35:46 -08:00 committed by GitHub
parent 6cdb268005
commit 1ec2c0807e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -145,7 +145,7 @@ func mainRun() exitCode {
if errors.As(err, &execError) {
return exitCode(execError.ExitCode())
}
fmt.Fprintf(stderr, "failed to run external command: %s", err)
fmt.Fprintf(stderr, "failed to run external command: %s\n", err)
return exitError
}
@ -157,7 +157,7 @@ func mainRun() exitCode {
if errors.As(err, &execError) {
return exitCode(execError.ExitCode())
}
fmt.Fprintf(stderr, "failed to run extension: %s", err)
fmt.Fprintf(stderr, "failed to run extension: %s\n", err)
return exitError
} else if found {
return exitOK