Created
April 28, 2021 23:21
-
-
Save alexeagle/ba44b2601bd7c953d29c6e8ec44d1ef9 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/node_modules/@angular/compiler-cli/src/ngtsc/util/src/typescript.js b/node_modules/@angular/compiler-cli/src/ngtsc/util/src/typescript.js | |
index ce7da78..c7feb37 100755 | |
--- a/node_modules/@angular/compiler-cli/src/ngtsc/util/src/typescript.js | |
+++ b/node_modules/@angular/compiler-cli/src/ngtsc/util/src/typescript.js | |
@@ -112,7 +112,7 @@ | |
// See: | |
// https://github.com/Microsoft/TypeScript/blob/3f7357d37f66c842d70d835bc925ec2a873ecfec/src/compiler/sys.ts#L650 | |
// Also compiler options might be set via an API which doesn't normalize paths | |
- return rootDirs.map(function (rootDir) { return file_system_1.absoluteFrom(rootDir); }); | |
+ return rootDirs.map(function (rootDir) { return file_system_1.getFileSystem().resolve(host.getCurrentDirectory(), rootDir); }); | |
} | |
exports.getRootDirs = getRootDirs; | |
function nodeDebugInfo(node) { |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment