Skip to content

Commit

Permalink
file data not avaliable in dot.js
Browse files Browse the repository at this point in the history
  • Loading branch information
Fen1kz committed Apr 8, 2015
1 parent 7619b9a commit bcac438
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 @@ -870,7 +870,7 @@ exports.dot.render = function (str, options, fn) {
var settings = {};
settings = extend(settings, engine.templateSettings);
settings = extend(settings, options ? options.dot : {});
var tmpl = cache(options) || cache(options, engine.template(str, settings, options && options._def));
var tmpl = cache(options) || cache(options, engine.template(str, settings, options));
fn(null, tmpl(options));
} catch (err) {
fn(err);
Expand Down

0 comments on commit bcac438

Please sign in to comment.