mirror of
https://github.com/harttle/liquidjs.git
synced 2026-09-18 22:10:41 -07:00
fix: return variable name in include error
This commit is contained in:
committed by
Jun Yang
parent
6bf242b9fa
commit
93433a8b30
@@ -29,7 +29,7 @@ export default {
|
||||
? yield renderer.renderTemplates(liquid.parse(evalQuotedToken(file)), ctx)
|
||||
: yield evalToken(file, ctx))
|
||||
: file.getText()
|
||||
assert(filepath, () => `illegal filename "${file}":"${filepath}"`)
|
||||
assert(filepath, () => `illegal filename "${file.getText()}":"${filepath}"`)
|
||||
|
||||
const saved = ctx.saveRegister('blocks', 'blockMode')
|
||||
ctx.setRegister('blocks', {})
|
||||
|
||||
Reference in New Issue
Block a user