chore(build): fix build.js and test.unit.cjs on Windows

Closes #1873
This commit is contained in:
Marc Laval 2015-05-13 12:04:10 +02:00
parent 1eea2b254e
commit c397297eef
1 changed files with 1 additions and 1 deletions

View File

@ -128,7 +128,7 @@ class CustomLanguageServiceHost implements ts.LanguageServiceHost {
constructor(private compilerOptions: ts.CompilerOptions, private fileNames: string[], constructor(private compilerOptions: ts.CompilerOptions, private fileNames: string[],
private fileRegistry: FileRegistry, private treeInputPath: string) { private fileRegistry: FileRegistry, private treeInputPath: string) {
this.currentDirectory = process.cwd(); this.currentDirectory = process.cwd();
this.defaultLibFilePath = ts.getDefaultLibFilePath(compilerOptions); this.defaultLibFilePath = ts.getDefaultLibFilePath(compilerOptions).replace(/\\/g, '/');
} }