mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-21 20:46:30 -05:00
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:
parent
e5fe378925
commit
508db1906b
1 changed files with 0 additions and 3 deletions
3
cache/filecache/filecache.go
vendored
3
cache/filecache/filecache.go
vendored
|
@ -330,9 +330,6 @@ func NewCaches(p *helpers.PathSpec) (Caches, error) {
|
|||
|
||||
if v.isResourceDir {
|
||||
cfs = p.BaseFs.ResourcesCache
|
||||
if cfs == nil {
|
||||
continue
|
||||
}
|
||||
} else {
|
||||
cfs = fs
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue