Skip to content

Commit

Permalink
use swig-templates module
Browse files Browse the repository at this point in the history
  • Loading branch information
fatihky authored Jul 4, 2017
1 parent 894b0de commit 86cd5d3
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 @@ -403,7 +403,7 @@ exports.swig = fromStringRenderer('swig');

exports.swig.render = function(str, options, fn){
return promisify(fn, function(fn) {
var engine = requires.swig || (requires.swig = require('swig'));
var engine = requires.swig || (requires.swig = require('swig-templates'));

try {
if(options.cache === true) options.cache = 'memory';
Expand Down

0 comments on commit 86cd5d3

Please sign in to comment.