mirror of
https://codeberg.org/scip/epuppy.git
synced 2026-02-04 17:50:58 +01:00
fix linter errors
This commit is contained in:
@@ -58,7 +58,11 @@ func Execute(output io.Writer) int {
|
||||
return Die(err)
|
||||
}
|
||||
|
||||
fmt.Fprintln(output, msg)
|
||||
_, err = fmt.Fprintln(output, msg)
|
||||
if err != nil {
|
||||
return Die(fmt.Errorf("failed to print to output: %s", err))
|
||||
}
|
||||
|
||||
return 0
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user