mirror of
https://github.com/cheat/cheat.git
synced 2025-09-06 03:52:55 +02:00
chore: various lint corrections
Make various lint corrections in order to appease `staticcheck`.
This commit is contained in:

committed by
Chris Lane

parent
484b447391
commit
85f5ae8ec7
@ -18,11 +18,7 @@ func cmdDirectories(opts map[string]interface{}, conf config.Config) {
|
||||
|
||||
// generate sorted, columnized output
|
||||
for _, path := range conf.Cheatpaths {
|
||||
fmt.Fprintln(w, fmt.Sprintf(
|
||||
"%s:\t%s",
|
||||
path.Name,
|
||||
path.Path,
|
||||
))
|
||||
fmt.Fprintf(w, "%s:\t%s\n", path.Name, path.Path)
|
||||
}
|
||||
|
||||
// write columnized output to stdout
|
||||
|
Reference in New Issue
Block a user