From d05a4c40b513053bbf7cf94badfdeb7f9e3ce444 Mon Sep 17 00:00:00 2001 From: Daniel Rosenwasser Date: Fri, 22 Aug 2014 12:57:00 -0700 Subject: [PATCH] Made diagnostic lowercase. --- src/compiler/tsc.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/compiler/tsc.ts b/src/compiler/tsc.ts index 0c885ff138f..5fba85cce4d 100644 --- a/src/compiler/tsc.ts +++ b/src/compiler/tsc.ts @@ -94,7 +94,7 @@ module ts { output += diagnostic.file.filename + "(" + loc.line + "," + loc.character + "): "; } - var category = DiagnosticCategory[diagnostic.category]; + var category = DiagnosticCategory[diagnostic.category].toLowerCase(); output += category + " TS" + diagnostic.code + ": " + diagnostic.messageText + sys.newLine; sys.write(output);