Skip to content

Commit

Permalink
chore(lint): fix indent
Browse files Browse the repository at this point in the history
  • Loading branch information
asciidisco committed Mar 9, 2014
1 parent 2154e76 commit 8dfe5b4
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions lib/dalek/config.js
Expand Up @@ -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 || {}));
Expand Down

0 comments on commit 8dfe5b4

Please sign in to comment.