Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
'fn': function (deferred) {
consolidate.dust(path.join(__dirname, 'views/includes/common-dust.html'), data, function (err, html) {
if (err) {
throw err;
}
deferred.resolve();
});
}
});
'fn': function (deferred) {
consolidate.dust(path.join(__dirname, 'views/includes/dust.html'), getData(), function (err, html) {
if (err) {
throw err;
}
deferred.resolve();
});
}
});