File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -444,7 +444,9 @@ export async function getTscRepoResult(
444
444
445
445
// TS 5055 generally indicates that the project can't be built twice in a row without cleaning in between.
446
446
const newErrorList = newErrors . projectErrors . find ( pe => pe . projectUrl == projectUrl ) ?. errors ?. filter ( e => e . code !== 5055 ) ?? [ ] ;
447
- const oldErrorList = oldProjectErrors . errors ;
447
+ // Obviously, 5055 doesn't indicate a problem with building twice if it occurs during the first build,
448
+ // but it's still not interesting to report that it went away (which we would, since we drop it from `newErrorList`).
449
+ const oldErrorList = oldProjectErrors . errors . filter ( e => e . code !== 5055 ) ;
448
450
449
451
console . log ( `Error counts for ${ projectUrl } : new = ${ newErrorList . length } , old = ${ oldErrorList . length } ` ) ;
450
452
You can’t perform that action at this time.
0 commit comments