check: Allow filling the cache during check

Closes #1665
This commit is contained in:
Alexander Neumann committed 2018-04-01 13:59:27 +02:00
1 parent 2e7ec717c1
commit e68a7fea8a
4 files changed
+24 -6

No files matched your search

+5 -1
View File
@@ -164,7 +164,11 @@ func (c *Checker) LoadIndex(ctx context.Context) (hints []error, errs []error) {
}
}
c.repo.SetIndex(c.masterIndex)
err := c.repo.SetIndex(c.masterIndex)
if err != nil {
debug.Log("SetIndex returned error: %v", err)
errs = append(errs, err)
}
return hints, errs
}