Revert "cache/filecache: Skip resource cache init if the fs is missing"

I need to revisit this.

This reverts commit da4c4a7789.
This commit is contained in:
Bjørn Erik Pedersen 2019-07-26 16:29:33 +02:00
parent e5fe378925
commit 508db1906b
No known key found for this signature in database
GPG key ID: 330E6E2BD4859D8F

View file

@ -330,9 +330,6 @@ func NewCaches(p *helpers.PathSpec) (Caches, error) {
if v.isResourceDir { if v.isResourceDir {
cfs = p.BaseFs.ResourcesCache cfs = p.BaseFs.ResourcesCache
if cfs == nil {
continue
}
} else { } else {
cfs = fs cfs = fs
} }