fix(compiler-cli): correct realPath to realpath. (#25023)
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`. PR Close #25023
This commit is contained in:
parent
a9ecf4b929
commit
01e6dab544
|
@ -591,7 +591,7 @@ export class TsCompilerAotCompilerTypeCheckHostAdapter implements ts.CompilerHos
|
|||
getNewLine = () => this.context.getNewLine();
|
||||
// Make sure we do not `host.realpath()` from TS as we do not want to resolve symlinks.
|
||||
// https://github.com/Microsoft/TypeScript/issues/9552
|
||||
realPath = (p: string) => p;
|
||||
realpath = (p: string) => p;
|
||||
writeFile = this.context.writeFile.bind(this.context);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue