unconditionnaly use linter for non-parallel run

This commit is contained in:
Vladimir Matveev 2016-05-24 14:29:52 -07:00
parent f69ecb5b90
commit 5f7bbbf8fd

View File

@ -735,9 +735,7 @@ function runConsoleTests(defaultReporter, runInParallel) {
var cmd = "mocha" + (debug ? " --debug-brk" : "") + " -R " + reporter + tests + colors + ' -t ' + testTimeout + ' ' + run;
console.log(cmd);
exec(cmd, function () {
if (i === 0) {
runLinter();
}
runLinter();
finish();
}, finish);