We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
resolveProjectReferencePath
1 parent 5c2eeb2 commit 3a023edCopy full SHA for 3a023ed
src/compiler/tsbuild.ts
@@ -494,10 +494,6 @@ namespace ts {
494
function addProject(projectSpecification: string) {
495
const fileName = resolvePath(compilerHost.getCurrentDirectory(), projectSpecification);
496
const refPath = resolveProjectReferencePath(compilerHost, { path: fileName });
497
- if (!refPath) {
498
- return buildHost.error(Diagnostics.File_0_does_not_exist, projectSpecification);
499
- }
500
-
501
if (!compilerHost.fileExists(refPath)) {
502
return buildHost.error(Diagnostics.File_0_does_not_exist, fileName);
503
}
0 commit comments