From 96df4092295e2059b57d3824ee999f0959272ad6 Mon Sep 17 00:00:00 2001 From: Iuri Matias Date: Sat, 24 Feb 2018 09:26:43 -0500 Subject: [PATCH] comply with linter --- lib/core/config.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/core/config.js b/lib/core/config.js index be23c674..8683dd3a 100644 --- a/lib/core/config.js +++ b/lib/core/config.js @@ -192,13 +192,13 @@ Config.prototype.loadChainTrackerFile = function() { function findMatchingExpression(filename, filesExpressions) { for (let fileExpression of filesExpressions) { var matchingFiles = utils.filesMatchingPattern(fileExpression); - for (matchFile of matchingFiles) { + for (let matchFile of matchingFiles) { if (matchFile === filename) { - return path.dirname(fileExpression).replace(/\*/g, '') + return path.dirname(fileExpression).replace(/\*/g, ''); } } } - return path.dirname(filename) + return path.dirname(filename); } Config.prototype.loadFiles = function(files) {