Skip to content

Commit

Permalink
Revert "fix(compiler-cli): ensure getRootDirs() handles case-sensit…
Browse files Browse the repository at this point in the history
…ivity (#36968)" (#37003)

This reverts commit 5bddeea.

The changes to the case-sensitivity handling in #36968 caused multiple
projects to fail to build. See #36992, #36993 and #37000.

The issue is related to the logical path handling. But it is felt that
it is safer to revert the entire PR and then to investigate further.

PR Close #37003
  • Loading branch information
petebacondarwin authored and alxhub committed May 8, 2020
1 parent 0fc0d9b commit 4423ab5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/compiler-cli/src/ngtsc/util/src/typescript.ts
Expand Up @@ -105,7 +105,7 @@ export function getRootDirs(host: ts.CompilerHost, options: ts.CompilerOptions):
// 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(rootDir => absoluteFrom(host.getCanonicalFileName(rootDir)));
return rootDirs.map(rootDir => absoluteFrom(rootDir));
}

export function nodeDebugInfo(node: ts.Node): string {
Expand Down

0 comments on commit 4423ab5

Please sign in to comment.