chore: various lint corrections

Make various lint corrections in order to appease `staticcheck`.
This commit is contained in:
Chris Allen Lane
2022-08-04 20:38:49 -04:00
committed by Chris Lane
parent 484b447391
commit 85f5ae8ec7
19 changed files with 30 additions and 49 deletions

View File

@@ -31,7 +31,7 @@ func Write(out string, conf config.Config) {
// handle errors
err := cmd.Run()
if err != nil {
fmt.Fprintln(os.Stderr, fmt.Sprintf("failed to write to pager: %v", err))
fmt.Fprintf(os.Stderr, "failed to write to pager: %v\n", err)
os.Exit(1)
}
}