Node.js based forum software built for the modern web
linted /meta
psychobunny0c8e0ca46f2e
diff --git a/src/meta/logs.js b/src/meta/logs.jsindex 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 filediff --git a/src/meta/templates.js b/src/meta/templates.jsindex 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]*<!-- IMPORT ([\s\S]*?)? -->[ \t]*/;- while(matches = file.match(regex)) {+ while((matches = file.match(regex)) !== null) {var partial = "/" + matches[1];if (paths[partial] && relativePath !== partial) {