From 0f51c342c84d291fcb1c7cbde3a1613edbda300a Mon Sep 17 00:00:00 2001 From: Rob Mensching Date: Fri, 8 Jan 2021 14:32:36 -0800 Subject: Report invalid command line arguments as errors Also fixes wixtoolset/issues#6313 --- src/WixToolset.Converters/FixupCommandBase.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/WixToolset.Converters/FixupCommandBase.cs b/src/WixToolset.Converters/FixupCommandBase.cs index 51256f5c..7ecce543 100644 --- a/src/WixToolset.Converters/FixupCommandBase.cs +++ b/src/WixToolset.Converters/FixupCommandBase.cs @@ -104,7 +104,7 @@ namespace WixToolset.Converters } catch { - parser.ErrorArgument = parameter; // $"Invalid numeric argument: {parameter}"; + parser.ReportErrorArgument(parameter); // $"Invalid numeric argument: {parameter}"; } return true; } -- cgit v1.2.3-55-g6feb