We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f124b42 commit 4a46786Copy full SHA for 4a46786
pkg/cmd/gist/list/list.go
@@ -96,7 +96,7 @@ func listRun(opts *ListOptions) error {
96
97
description := gist.Description
98
if description == "" {
99
- for filename, _ := range gist.Files {
+ for filename := range gist.Files {
100
if !strings.HasPrefix(filename, "gistfile") {
101
description = filename
102
break
0 commit comments