diff --git a/pkg/cmd/gist/edit/edit.go b/pkg/cmd/gist/edit/edit.go index 76285ed6a..de94d09c7 100644 --- a/pkg/cmd/gist/edit/edit.go +++ b/pkg/cmd/gist/edit/edit.go @@ -83,7 +83,7 @@ func editRun(opts *EditOptions) error { for { filename := opts.Filename candidates := []string{} - for filename, _ := range gist.Files { + for filename := range gist.Files { candidates = append(candidates, filename) }