Skip to content

Commit

Permalink
Pass options to bracket compile
Browse files Browse the repository at this point in the history
  • Loading branch information
8lueberry committed Jan 8, 2017
1 parent 894b0de commit 93a61f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/consolidate.js
Original file line number Diff line number Diff line change
Expand Up @@ -1051,7 +1051,7 @@ exports.bracket.render = function (str, options, fn) {
return promisify(fn, function (fn) {
var engine = requires.bracket || (requires.bracket = require('bracket-template'));
try {
var tmpl = cache(options) || cache(options, engine.default.compile(str));
var tmpl = cache(options) || cache(options, engine.default.compile(str, options));
fn(null, tmpl(options));
} catch (err) {
fn(err);
Expand Down

0 comments on commit 93a61f3

Please sign in to comment.