mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-24 02:21:30 -05:00
Don't debug assert on broken link in moduleNameResolver (#55649)
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user