Skip to content

Commit 40017b3

Browse files
authored
feature #140 formatting xml by default, unless specified to be false. (#141)
1 parent d976a13 commit 40017b3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Compiling/CompilerOptions.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (c) Microsoft Corporation.
1+
// Copyright (c) Microsoft Corporation.
22
// Licensed under the MIT License.
33

44
using System.Xml;
@@ -31,6 +31,6 @@ public CompilerOptions(IConfigurationRoot configuration)
3131
OutputFolder = Path.GetFullPath(OutputFolder);
3232

3333
FileExtension = configuration["ext"] ?? "xml";
34-
Format = bool.TryParse(configuration["format"] ?? "false", out var fmt) && fmt;
34+
Format = bool.TryParse(configuration["format"] ?? "true", out var fmt) && fmt;
3535
}
3636
}

0 commit comments

Comments
 (0)