Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save alexeagle/ba44b2601bd7c953d29c6e8ec44d1ef9 to your computer and use it in GitHub Desktop.
Save alexeagle/ba44b2601bd7c953d29c6e8ec44d1ef9 to your computer and use it in GitHub Desktop.
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