1
0
mirror of https://github.com/taigrr/wtf synced 2025-01-18 04:03:14 -08:00

Fix a bunch of minor issues found by running staticcheck

Signed-off-by: Chris Cummer <chriscummer@me.com>
This commit is contained in:
Chris Cummer
2020-05-06 22:44:24 -07:00
parent a19c9c3e33
commit 9cd9a58759
12 changed files with 36 additions and 93 deletions

View File

@@ -43,7 +43,7 @@ func (flags *Flags) RenderIf(version, date string, config *config.Config) {
}
if flags.HasVersion() {
fmt.Println(fmt.Sprintf("%s (%s)", version, date))
fmt.Printf("%s (%s)\n", version, date)
os.Exit(0)
}
}