X-Git-Url: https://git.r.bdr.sh/rbdr/mobius/blobdiff_plain/45ca5d60383cbe270624c713b916da29af7ba88f..153e2eac3b51a6a426556752fa2c532cfe53f026:/hotline/files.go 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) {