linter appeasement
This commit is contained in:
parent
f124b426fe
commit
4a467864d5
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue