diff options
author | Bjørn Erik Pedersen <[email protected]> | 2019-07-26 16:29:33 +0200 |
---|---|---|
committer | Bjørn Erik Pedersen <[email protected]> | 2019-07-26 16:29:33 +0200 |
commit | 508db1906beb84058e6d4394c8805532035e7bd2 (patch) | |
tree | 9320b29114f608e95465f270c15dc2cb70d85a4a /cache/filecache/filecache.go | |
parent | e5fe378925c16c75902bbb46499c376c530ebdb5 (diff) | |
download | hugo-508db1906beb84058e6d4394c8805532035e7bd2.tar.gz hugo-508db1906beb84058e6d4394c8805532035e7bd2.zip |
Revert "cache/filecache: Skip resource cache init if the fs is missing"
I need to revisit this.
This reverts commit da4c4a7789d403af3f4f4fdd5dfd3327535e4050.
Diffstat (limited to 'cache/filecache/filecache.go')
-rw-r--r-- | cache/filecache/filecache.go | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/cache/filecache/filecache.go b/cache/filecache/filecache.go index 216c280c2..bf004c8f7 100644 --- a/cache/filecache/filecache.go +++ b/cache/filecache/filecache.go @@ -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 } |