diff --git a/src/staxfile/evaluator.ts b/src/staxfile/evaluator.ts index f7f79ab..60ccc14 100644 --- a/src/staxfile/evaluator.ts +++ b/src/staxfile/evaluator.ts @@ -72,7 +72,7 @@ export default class Evaluator { if (name === 'prompt') return await this.prompt(args[0], args[1]) if (name === 'requires?') return this.staxfile.config.requires.includes(args[0]) if (name === 'test') return this.test(args[0], args[1]) - if (name === 'setting') return settings.read(args[0]) + if (name === 'setting') return settings.read(args[0], args[1]) if (name === 'equals') return args[0] === args[1] throw new ExpressionWarning(`Invalid template expression: ${name}`)