Skip to content
This repository was archived by the owner on Jul 29, 2024. It is now read-only.

Commit 95093c3

Browse files
committed
fix(configParser): don't run suite if specs are supplied
1 parent d35285f commit 95093c3

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

lib/configParser.js

+5-2
Original file line numberDiff line numberDiff line change
@@ -118,11 +118,14 @@ ConfigParser.getSpecs = function(config) {
118118
return config.suites[config.suite];
119119
}
120120

121-
var specs = config.specs || [];
121+
if (config.specs.length > 0) {
122+
return config.specs
123+
}
124+
125+
var specs = [];
122126
_.forEach(config.suites, function(suite) {
123127
specs = _.union(specs, makeArray(suite));
124128
});
125-
126129
return specs;
127130
};
128131

0 commit comments

Comments
 (0)