Index: Skip with continue, not return nil #391

Signed-off-by: Michael Mayer <michael@liquidbytes.net>
This commit is contained in:
Michael Mayer 2020-07-19 17:33:40 +02:00
parent 5477e382e7
commit f0cfe5ff3a

View file

@ -167,7 +167,7 @@ func (ind *Index) Start(opt IndexOptions) fs.Done {
for _, f := range related.Files {
if ind.files.Ignore(f.RelName(originalsPath), f.ModTime(), opt.Rescan) {
return nil
continue
}
if done[f.FileName()].Processed() {