mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-04 03:09:39 -06:00
Don't debug assert on broken link in moduleNameResolver (#55649)
This commit is contained in:
parent
4b177a186a
commit
41a914f00d
@ -1896,7 +1896,6 @@ function realPath(path: string, host: ModuleResolutionHost, traceEnabled: boolea
|
||||
if (traceEnabled) {
|
||||
trace(host, Diagnostics.Resolving_real_path_for_0_result_1, path, real);
|
||||
}
|
||||
Debug.assert(host.fileExists(real), `${path} linked to nonexistent file ${real}`);
|
||||
return real;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user