You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: DevProxy.Plugins/Reporting/ExecutionSummaryPlugin.cs
+7-6Lines changed: 7 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -42,15 +42,16 @@ public sealed class ExecutionSummaryPlugin(
42
42
43
43
publicoverrideOption[]GetOptions()
44
44
{
45
-
vargroupBy=newOption<SummaryGroupBy?>(_groupByOptionName,"Specifies how the information should be grouped in the summary. Available options: `url` (default), `messageType`.")
input.ErrorMessage=$"{input.Tokens[0].Value} is not a valid option to group by. Allowed values are: {string.Join(", ",Enum.GetNames<SummaryGroupBy>())}";
54
+
input.AddError($"{input.Tokens[0].Value} is not a valid option to group by. Allowed values are: {string.Join(", ",Enum.GetNames<SummaryGroupBy>())}");
54
55
}
55
56
});
56
57
@@ -63,9 +64,9 @@ public override void OptionsLoaded(OptionsLoadedArgs e)
0 commit comments