diff options
| author | Bob Arnson <bob@firegiant.com> | 2020-09-02 20:24:16 -0400 |
|---|---|---|
| committer | Bob Arnson <bob@firegiant.com> | 2020-09-02 20:30:33 -0400 |
| commit | 941c7cae67823ed7da82d5f6f43233b7364eefc9 (patch) | |
| tree | a7ab93579bc2f3d2b5d12604c05fc2bc2ad65dd1 /src/WixToolset.Converters/ConvertCommand.cs | |
| parent | cdef9c078068b7dc23b348b2142dc13dd5a936fb (diff) | |
| download | wix-941c7cae67823ed7da82d5f6f43233b7364eefc9.tar.gz wix-941c7cae67823ed7da82d5f6f43233b7364eefc9.tar.bz2 wix-941c7cae67823ed7da82d5f6f43233b7364eefc9.zip | |
Converters fixes and cleanup.
- Support keeping the XML declaration.
- Parse settings files earlier so they...work.
- Fix typo.
Diffstat (limited to 'src/WixToolset.Converters/ConvertCommand.cs')
| -rw-r--r-- | src/WixToolset.Converters/ConvertCommand.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/WixToolset.Converters/ConvertCommand.cs b/src/WixToolset.Converters/ConvertCommand.cs index 50ca7249..e29b176e 100644 --- a/src/WixToolset.Converters/ConvertCommand.cs +++ b/src/WixToolset.Converters/ConvertCommand.cs | |||
| @@ -26,10 +26,10 @@ namespace WixToolset.Converters | |||
| 26 | return Task.FromResult(-1); | 26 | return Task.FromResult(-1); |
| 27 | } | 27 | } |
| 28 | 28 | ||
| 29 | var converter = new WixConverter(this.Messaging, this.IndentationAmount, this.ErrorsAsWarnings, this.IgnoreErrors); | ||
| 30 | |||
| 31 | this.ParseSettings(SettingsFileDefault); | 29 | this.ParseSettings(SettingsFileDefault); |
| 32 | 30 | ||
| 31 | var converter = new WixConverter(this.Messaging, this.IndentationAmount, this.ErrorsAsWarnings, this.IgnoreErrors); | ||
| 32 | |||
| 33 | var errors = base.Inspect(Inspector, cancellationToken); | 33 | var errors = base.Inspect(Inspector, cancellationToken); |
| 34 | 34 | ||
| 35 | return Task.FromResult(errors); | 35 | return Task.FromResult(errors); |
