mirror of
https://github.com/harttle/liquidjs.git
synced 2026-09-18 14:00:39 -07:00
fix: respect cache render options
This commit is contained in:
committed by
Jun Yang
parent
3cf8072df5
commit
a93f11d25a
+1
-1
@@ -75,7 +75,7 @@ export class Liquid {
|
||||
}
|
||||
|
||||
for (const filepath of paths) {
|
||||
const { cache } = this.options
|
||||
const { cache } = options
|
||||
if (cache) {
|
||||
const tpls = yield cache.read(filepath)
|
||||
if (tpls) return tpls
|
||||
|
||||
Reference in New Issue
Block a user