mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-17 00:55:32 -05:00
run linter once after last worker is finished in case if there are no errors
This commit is contained in:
@@ -741,7 +741,8 @@ function runConsoleTests(defaultReporter, defaultSubsets) {
|
||||
|
||||
deleteTemporaryProjectOutput();
|
||||
if (counter !== 0 || errorStatus === undefined) {
|
||||
if (lintFlag) {
|
||||
// run linter when last worker is finished
|
||||
if (lintFlag && counter === 0) {
|
||||
var lint = jake.Task['lint'];
|
||||
lint.addListener('complete', function () {
|
||||
complete();
|
||||
|
||||
Reference in New Issue
Block a user