From 41a914f00d5188b50e01c280864cb8690465c8b2 Mon Sep 17 00:00:00 2001 From: Jake Bailey <5341706+jakebailey@users.noreply.github.com> Date: Wed, 6 Sep 2023 12:00:18 -0700 Subject: [PATCH] Don't debug assert on broken link in moduleNameResolver (#55649) --- src/compiler/moduleNameResolver.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/src/compiler/moduleNameResolver.ts b/src/compiler/moduleNameResolver.ts index 0a5088a4c34..43e34558c7c 100644 --- a/src/compiler/moduleNameResolver.ts +++ b/src/compiler/moduleNameResolver.ts @@ -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; }