ensure that sys is not used outside tsc.ts

This commit is contained in:
Mohamed Hegazy committed 2014-08-28 23:10:05 -07:00
1 parent f55b5ef1bb
commit 49d8157d28
9 files changed
+21 -18

No files matched your search

+1 -1
View File
@@ -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 {