From 0c8e0ca46f2eaef459774e88ca9c14c49d71dded Mon Sep 17 00:00:00 2001 From: psychobunny Date: Wed, 25 Feb 2015 19:28:43 -0500 Subject: [PATCH] linted /meta --- src/meta/logs.js | 4 ++-- src/meta/templates.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/meta/logs.js b/src/meta/logs.js index 01ee677887..0b38b61a34 100644 --- a/src/meta/logs.js +++ b/src/meta/logs.js @@ -20,9 +20,9 @@ module.exports = function(Meta) { callback(undefined, logs || ''); }); - } + }; Meta.logs.clear = function(callback) { fs.truncate(this.path, 0, callback); - } + }; }; \ No newline at end of file diff --git a/src/meta/templates.js b/src/meta/templates.js index af2f8664a6..78596d59a4 100644 --- a/src/meta/templates.js +++ b/src/meta/templates.js @@ -99,7 +99,7 @@ Templates.compile = function(callback) { matches = null, regex = /[ \t]*[ \t]*/; - while(matches = file.match(regex)) { + while((matches = file.match(regex)) !== null) { var partial = "/" + matches[1]; if (paths[partial] && relativePath !== partial) {