Move assertion to realpath evaluation

This commit is contained in:
uniqueiniquity
2018-01-19 16:22:09 -08:00
parent 1fc6675a29
commit 46fa477c15
2 changed files with 1 additions and 1 deletions

View File

@@ -782,6 +782,7 @@ namespace ts {
if (traceEnabled) {
trace(host, Diagnostics.Resolving_real_path_for_0_result_1, path, real);
}
Debug.assert(host.fileExists(real), `${path} linked to non-existing file ${real}`); // tslint:disable-line
return real;
}