@joebigelow / wix / commits / 4f4862bc

Pass sourceFile through to formatter

Peter Hull committed May 5, 2024 at 19:40 UTC 4f4862bc65f83189680c9d26abe46c4e9cf51aeb
1 file changed +1 -1
src/wix/WixToolset.Converters/WixConverter.cs
+1 -1
@@ -443,7 +443,7 @@ namespace WixToolset.Converters
443
444 if (this.TryOpenSourceFile(ConvertOperation.Format, sourceFile))
445 {
446 - this.FormatDocument(this.State.XDocument);
446 + this.FormatDocument(this.State.XDocument, sourceFile);
447
448 // Fix Messages if requested and necessary.
449 if (saveConvertedFile && 0 < this.ConversionMessages.Count)