File tree 1 file changed +3
-4
lines changed
1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -382,7 +382,7 @@ namespace ts.server {
382
382
// correct results to all other projects.
383
383
384
384
const defaultProjectResults = perProjectResults . get ( defaultProject ) ;
385
- if ( defaultProjectResults ?. [ 0 ] . references [ 0 ] ?. isDefinition === undefined ) {
385
+ if ( defaultProjectResults ?. [ 0 ] ? .references [ 0 ] ?. isDefinition === undefined ) {
386
386
// Clear all isDefinition properties
387
387
perProjectResults . forEach ( projectResults => {
388
388
if ( projectResults ) {
@@ -545,10 +545,9 @@ namespace ts.server {
545
545
if ( cancellationToken . isCancellationRequested ( ) ) break onCancellation;
546
546
547
547
let skipCount = 0 ;
548
- for ( ; skipCount < queue . length && resultsMap . has ( queue [ skipCount ] . project ) ; skipCount ++ ) {
549
- }
548
+ for ( ; skipCount < queue . length && resultsMap . has ( queue [ skipCount ] . project ) ; skipCount ++ ) ;
550
549
551
- if ( skipCount == queue . length ) {
550
+ if ( skipCount === queue . length ) {
552
551
queue . length = 0 ;
553
552
break ;
554
553
}
You can’t perform that action at this time.
0 commit comments