Skip to content

Commit 299002d

Browse files
Fix spacing.
1 parent 7fd1dda commit 299002d

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

src/compiler/commandLineParser.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -56,14 +56,14 @@ namespace ts {
5656
category: Diagnostics.Command_line_Options,
5757
description: Diagnostics.Stylize_errors_and_messages_using_color_and_context_experimental
5858
},
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+
},
6767
{
6868
name: "preserveWatchOutput",
6969
type: "boolean",

src/compiler/tsc.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ namespace ts {
2727
function shouldBePretty(options: CompilerOptions) {
2828
if ((typeof options.pretty === "undefined" && typeof options.diagnosticStyle === "undefined") || options.diagnosticStyle === DiagnosticStyle.Auto) {
2929
return !!sys.writeOutputIsTty && sys.writeOutputIsTty();
30-
}
30+
}
3131
return options.diagnosticStyle === DiagnosticStyle.Pretty || options.pretty;
3232
}
3333

0 commit comments

Comments
 (0)