check: Allow filling the cache during check

Closes #1665
This commit is contained in:
Alexander Neumann
2018-03-31 10:02:09 +02:00
parent 2e7ec717c1
commit e68a7fea8a
4 changed files with 24 additions and 6 deletions

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
}