Skip to content

Commit 4047fe2

Browse files
jakebaileysnovader
authored andcommitted
Don't debug assert on broken link in moduleNameResolver (microsoft#55649)
1 parent 6b22ac5 commit 4047fe2

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/compiler/moduleNameResolver.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1921,7 +1921,6 @@ function realPath(path: string, host: ModuleResolutionHost, traceEnabled: boolea
19211921
if (traceEnabled) {
19221922
trace(host, Diagnostics.Resolving_real_path_for_0_result_1, path, real);
19231923
}
1924-
Debug.assert(host.fileExists(real), `${path} linked to nonexistent file ${real}`);
19251924
return real;
19261925
}
19271926

0 commit comments

Comments
 (0)