File tree Expand file tree Collapse file tree 2 files changed +9
-9
lines changed Expand file tree Collapse file tree 2 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -56,14 +56,14 @@ namespace ts {
56
56
category : Diagnostics . Command_line_Options ,
57
57
description : Diagnostics . Stylize_errors_and_messages_using_color_and_context_experimental
58
58
} ,
59
- {
60
- name : "diagnosticStyle" ,
61
- type : createMapFromTemplate ( {
62
- auto : DiagnosticStyle . Auto ,
63
- pretty : DiagnosticStyle . Pretty ,
64
- simple : DiagnosticStyle . Simple ,
65
- } ) ,
66
- } ,
59
+ {
60
+ name : "diagnosticStyle" ,
61
+ type : createMapFromTemplate ( {
62
+ auto : DiagnosticStyle . Auto ,
63
+ pretty : DiagnosticStyle . Pretty ,
64
+ simple : DiagnosticStyle . Simple ,
65
+ } ) ,
66
+ } ,
67
67
{
68
68
name : "preserveWatchOutput" ,
69
69
type : "boolean" ,
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ namespace ts {
27
27
function shouldBePretty ( options : CompilerOptions ) {
28
28
if ( ( typeof options . pretty === "undefined" && typeof options . diagnosticStyle === "undefined" ) || options . diagnosticStyle === DiagnosticStyle . Auto ) {
29
29
return ! ! sys . writeOutputIsTty && sys . writeOutputIsTty ( ) ;
30
- }
30
+ }
31
31
return options . diagnosticStyle === DiagnosticStyle . Pretty || options . pretty ;
32
32
}
33
33
You can’t perform that action at this time.
0 commit comments