Skip to content

Commit d05a4c4

Browse files
Made diagnostic lowercase.
1 parent c3590aa commit d05a4c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/compiler/tsc.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ module ts {
9494
output += diagnostic.file.filename + "(" + loc.line + "," + loc.character + "): ";
9595
}
9696

97-
var category = DiagnosticCategory[diagnostic.category];
97+
var category = DiagnosticCategory[diagnostic.category].toLowerCase();
9898
output += category + " TS" + diagnostic.code + ": " + diagnostic.messageText + sys.newLine;
9999

100100
sys.write(output);

0 commit comments

Comments
 (0)