Skip to content

Commit 8eacba0

Browse files
committed
fix(compiler-cli): correct realPath to realpath.
The optional property on `ts.CompilerHost` is called `realpath` (lower case), not `realPath` (lower camel case). It is not clear to me what the impact of this is, but the author's intent was clearly to override `realpath`.
1 parent c8a4fb1 commit 8eacba0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/compiler-cli/src/transformers/compiler_host.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -591,7 +591,7 @@ export class TsCompilerAotCompilerTypeCheckHostAdapter implements ts.CompilerHos
591591
getNewLine = () => this.context.getNewLine();
592592
// Make sure we do not `host.realpath()` from TS as we do not want to resolve symlinks.
593593
// https://github.com/Microsoft/TypeScript/issues/9552
594-
realPath = (p: string) => p;
594+
realpath = (p: string) => p;
595595
writeFile = this.context.writeFile.bind(this.context);
596596
}
597597

0 commit comments

Comments
 (0)