Skip to content

Commit 93a61f3

Browse files
committed
Pass options to bracket compile
1 parent 894b0de commit 93a61f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/consolidate.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1051,7 +1051,7 @@ exports.bracket.render = function (str, options, fn) {
10511051
return promisify(fn, function (fn) {
10521052
var engine = requires.bracket || (requires.bracket = require('bracket-template'));
10531053
try {
1054-
var tmpl = cache(options) || cache(options, engine.default.compile(str));
1054+
var tmpl = cache(options) || cache(options, engine.default.compile(str, options));
10551055
fn(null, tmpl(options));
10561056
} catch (err) {
10571057
fn(err);

0 commit comments

Comments
 (0)