Skip to content

Commit a0917f7

Browse files
committed
Added fallthrough for empty arrays in change detection
1 parent 67dc3af commit a0917f7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

libs/parsing/index/src/lib/change-detection/process-change-detection-results.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ export async function ProcessChangeDetectionResults(
6161
for (let i = 0; i < changedFiles.length; i++) {
6262
changedGlobals = changedGlobals.concat(
6363
GetChangedGlobals(
64-
index.globalIndex.globalTokensByFile[changedFiles[i]],
64+
index.globalIndex.globalTokensByFile[changedFiles[i]] || [],
6565
changed[changedFiles[i]]
6666
)
6767
);

0 commit comments

Comments
 (0)