From afc7f9d23b7a73f91e14b01363fa9bfe02913282 Mon Sep 17 00:00:00 2001 From: Andy Shora Date: Wed, 8 Apr 2015 10:37:36 +0100 Subject: [PATCH] Fixed lint error which was causing tests to fail. --- lib/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/index.js b/lib/index.js index 1ff68ad0e..4fb2a7f50 100644 --- a/lib/index.js +++ b/lib/index.js @@ -336,7 +336,7 @@ module.exports.render = function(options, cb) { }); } - options.data ? binding.render(options) : binding.renderFile(options); + return options.data ? binding.render(options) : binding.renderFile(options); }; /**