From 8dfe5b453d7c33fe90d04be54b55523dd310ea37 Mon Sep 17 00:00:00 2001 From: asciidisco Date: Sun, 9 Mar 2014 16:45:57 +0100 Subject: [PATCH] chore(lint): fix indent --- lib/dalek/config.js | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/lib/dalek/config.js b/lib/dalek/config.js index 6ca9c54..6334c6c 100644 --- a/lib/dalek/config.js +++ b/lib/dalek/config.js @@ -232,17 +232,17 @@ Config.prototype = { if(data.tests && _.isArray(data.tests) && data.tests.length > 0) { var tests = []; - //get all the files that match - _.forEach(data.tests, function(search) { - tests = tests.concat(glob.sync(search)); - }); + //get all the files that match + _.forEach(data.tests, function(search) { + tests = tests.concat(glob.sync(search)); + }); - //remove duplicate files - tests = tests.filter(function(elem, pos, self) { - return self.indexOf(elem) == pos; - }); + //remove duplicate files + tests = tests.filter(function(elem, pos, self) { + return self.indexOf(elem) === pos; + }); - data.tests = tests; + data.tests = tests; } return _.merge(defaults, data, opts, (this.advancedOptions || {}));