Skip to content

Commit

Permalink
linter appeasement
Browse files Browse the repository at this point in the history
  • Loading branch information
vilmibm committed Sep 15, 2020
1 parent f124b42 commit 4a46786
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/cmd/gist/list/list.go
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ func listRun(opts *ListOptions) error {

description := gist.Description
if description == "" {
for filename, _ := range gist.Files {
for filename := range gist.Files {
if !strings.HasPrefix(filename, "gistfile") {
description = filename
break
Expand Down

0 comments on commit 4a46786

Please sign in to comment.