From 70d459c39d1716b2d26ffcbd2c4037d646b9ec37 Mon Sep 17 00:00:00 2001 From: Rob Mensching Date: Wed, 15 May 2019 16:21:14 -0700 Subject: Extract common converters code to Converters repo and use that instead --- src/wixcop/CommandLine/ConvertCommand.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/wixcop/CommandLine') diff --git a/src/wixcop/CommandLine/ConvertCommand.cs b/src/wixcop/CommandLine/ConvertCommand.cs index c65652ab..a9a110fe 100644 --- a/src/wixcop/CommandLine/ConvertCommand.cs +++ b/src/wixcop/CommandLine/ConvertCommand.cs @@ -6,6 +6,7 @@ namespace WixToolset.Tools.WixCop.CommandLine using System.Collections.Generic; using System.IO; using System.Xml; + using WixToolset.Converters; using WixToolset.Extensibility.Data; using WixToolset.Extensibility.Services; @@ -75,7 +76,7 @@ namespace WixToolset.Tools.WixCop.CommandLine } var messaging = this.ServiceProvider.GetService(); - var converter = new Converter(messaging, this.IndentationAmount, this.ErrorsAsWarnings, this.IgnoreErrors); + var converter = new Wix3Converter(messaging, this.IndentationAmount, this.ErrorsAsWarnings, this.IgnoreErrors); var errors = this.InspectSubDirectories(converter, Path.GetFullPath(".")); @@ -131,7 +132,7 @@ namespace WixToolset.Tools.WixCop.CommandLine /// /// The directory whose sub-directories will be inspected. /// The number of errors that were found. - private int InspectSubDirectories(Converter converter, string directory) + private int InspectSubDirectories(Wix3Converter converter, string directory) { var errors = 0; -- cgit v1.2.3-55-g6feb