diff options
Diffstat (limited to 'hotline/files.go')
| -rw-r--r-- | hotline/files.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/hotline/files.go b/hotline/files.go index 901b98c..6753cce 100644 --- a/hotline/files.go +++ b/hotline/files.go @@ -40,8 +40,7 @@ func getFileNameList(path string, ignoreList []string) (fields []Field, err erro return fields, fmt.Errorf("error reading path: %s: %w", path, err) } - for i, _ := range files { - file := files[i] + for _, file := range files { var fnwi FileNameWithInfo if ignoreFile(file.Name(), ignoreList) { |