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:
parent
6cdb268005
commit
1ec2c0807e
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue