Skip to content

Commit

Permalink
Be consistent with the number of lines
Browse files Browse the repository at this point in the history
0 plugins -> empty string (instead of 2 lines)
1 plugin -> 1 line (instead of 2 lines)
2 plugins -> 2 lines (instead of 3 lines)
  • Loading branch information
corneliusweig committed Jun 6, 2019
1 parent 90739f7 commit 11d8700
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/krew/cmd/list.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ Remarks:
names = append(names, name)
}
sort.Strings(names)
fmt.Fprintln(os.Stdout, strings.Join(names, "\n"))
fmt.Fprint(os.Stdout, strings.Join(names, "\n"))
return nil
}

Expand Down

0 comments on commit 11d8700

Please sign in to comment.