Skip to content

Commit 3c2f368

Browse files
committed
add assert
1 parent 676ed3e commit 3c2f368

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/compiler/program.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2688,6 +2688,7 @@ namespace ts {
26882688
return undefined;
26892689
}
26902690
sourceFile = Debug.assertDefined(commandLine.options.configFile);
2691+
Debug.assert(!sourceFile.path || sourceFile.path === sourceFilePath);
26912692
addFileToFilesByName(sourceFile, sourceFilePath, /*redirectedPath*/ undefined);
26922693
}
26932694
else {

0 commit comments

Comments
 (0)