Skip to content

Commit 41a914f

Browse files
authored
Don't debug assert on broken link in moduleNameResolver (microsoft#55649)
1 parent 4b177a1 commit 41a914f

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

Diff for: src/compiler/moduleNameResolver.ts

-1
Original file line numberDiff line numberDiff line change
@@ -1896,7 +1896,6 @@ function realPath(path: string, host: ModuleResolutionHost, traceEnabled: boolea
18961896
if (traceEnabled) {
18971897
trace(host, Diagnostics.Resolving_real_path_for_0_result_1, path, real);
18981898
}
1899-
Debug.assert(host.fileExists(real), `${path} linked to nonexistent file ${real}`);
19001899
return real;
19011900
}
19021901

0 commit comments

Comments
 (0)