summaryrefslogtreecommitdiff
path: root/cache
diff options
context:
space:
mode:
Diffstat (limited to 'cache')
-rw-r--r--cache/cache.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cache/cache.go b/cache/cache.go
index b57d8b8..ae2d081 100644
--- a/cache/cache.go
+++ b/cache/cache.go
@@ -104,7 +104,7 @@ func Save(s *model.State) error {
return os.WriteFile(Path, []byte(c.String()), os.ModePerm)
}
-func LoadState(f fs.FS, cache Cache, indexers []model.Indexer, runners []model.Runner) (*model.State, error) {
+func LoadState(f fs.FS, cache Cache, indexers []model.Indexer, runners []model.Runner) (*model.State, []error) {
var locs []string
for _, e := range cache.Entries {
locs = append(locs, e.Path)