Rename through all projects with the same file symLink

This commit is contained in:
Sheetal Nandi
2018-01-12 13:54:49 -08:00
parent ef7f131398
commit 428e0529fd
7 changed files with 226 additions and 101 deletions

View File

@@ -524,7 +524,12 @@ namespace ts {
process.exit(exitCode);
},
realpath(path: string): string {
return _fs.realpathSync(path);
try {
return _fs.realpathSync(path);
}
catch {
return path;
}
},
debugMode: some(<string[]>process.execArgv, arg => /^--(inspect|debug)(-brk)?(=\d+)?$/i.test(arg)),
tryEnableSourceMapsForHost() {