mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-11-18 20:11:14 +00:00
ensure that sys is not used outside tsc.ts
This commit is contained in:
1 parent
f55b5ef1bb
commit
49d8157d28
9 files changed
+21
-18
No files matched your search
@@ -120,7 +120,7 @@ module TypeScript {
|
||||
// TODO: We need to expose an extensibility point on our hosts to have them tell us what
|
||||
// they want the newline string to be. That way we can get the correct result regardless
|
||||
// of which host we use
|
||||
return sys.newLine ? sys.newLine : "\r\n";
|
||||
return "\r\n";
|
||||
}
|
||||
|
||||
function getLargestIndex(diagnostic: string): number {
|
||||
|
||||
Reference in new issue
Block a user