aboutsummaryrefslogtreecommitdiff
path: root/src/WixToolset.Converters/ConvertCommand.cs
diff options
context:
space:
mode:
authorBob Arnson <bob@firegiant.com>2020-09-02 20:24:16 -0400
committerBob Arnson <bob@firegiant.com>2020-09-02 20:30:33 -0400
commit941c7cae67823ed7da82d5f6f43233b7364eefc9 (patch)
treea7ab93579bc2f3d2b5d12604c05fc2bc2ad65dd1 /src/WixToolset.Converters/ConvertCommand.cs
parentcdef9c078068b7dc23b348b2142dc13dd5a936fb (diff)
downloadwix-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.cs4
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);