10000 run linter once after last worker is finished in case if there are no… · regisp/TypeScript@c4b517c · GitHub
[go: up one dir, main page]

Skip to content

Commit c4b517c

Browse files
committed
run linter once after last worker is finished in case if there are no errors
1 parent 5b4e964 commit c4b517c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Jakefile.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -741,7 +741,8 @@ function runConsoleTests(defaultReporter, defaultSubsets) {
741741

742742
deleteTemporaryProjectOutput();
743743
if (counter !== 0 || errorStatus === undefined) {
744-
if (lintFlag) {
744+
// run linter when last worker is finished
745+
if (lintFlag && counter === 0) {
745746
var lint = jake.Task['lint'];
746747
lint.addListener('complete', function () {
747748
complete();

0 commit comments

Comments
 (0)
0