Skip to content

Commit

Permalink
add assert
Browse files Browse the repository at this point in the history
  • Loading branch information
ajafff committed May 6, 2019
1 parent 676ed3e commit 3c2f368
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/compiler/program.ts
Expand Up @@ -2688,6 +2688,7 @@ namespace ts {
return undefined;
}
sourceFile = Debug.assertDefined(commandLine.options.configFile);
Debug.assert(!sourceFile.path || sourceFile.path === sourceFilePath);
addFileToFilesByName(sourceFile, sourceFilePath, /*redirectedPath*/ undefined);
}
else {
Expand Down

0 comments on commit 3c2f368

Please sign in to comment.