Skip to content

Commit

Permalink
Fix lodash options not being passed through
Browse files Browse the repository at this point in the history
Fixes #220
  • Loading branch information
Ruben Bridgewater committed Jan 24, 2016
1 parent 4f58f02 commit 73c4d86
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 @@ -775,7 +775,7 @@ exports.lodash.render = function(str, options, fn) {
return promisify(fn, function (fn) {
var engine = requires.lodash || (requires.lodash = require('lodash'));
try {
var tmpl = cache(options) || cache(options, engine.template(str, null, options));
var tmpl = cache(options) || cache(options, engine.template(str, options));
fn(null, tmpl(options).replace(/\n$/, ''));
} catch (err) {
fn(err);
Expand Down

0 comments on commit 73c4d86

Please sign in to comment.