Skip to content

Commit

Permalink
Handle correctly matching status for multi-value rules
Browse files Browse the repository at this point in the history
  • Loading branch information
cezarypiatek committed Jan 2, 2025
1 parent c13882e commit 45aaad8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/WireMockInspector/ViewModels/MainWindowViewModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -657,7 +657,7 @@ private static IEnumerable<SettingsWrapper> MapToSettingsWrappers(object serverS
var v = x.ToObject<MatchJOBject>();
return new MatchInfo
{
Matched = v.Score > 0,
Matched = v.Score == 1.0,
RuleName = v.Name
};
}).ToList() ?? new List<MatchInfo>()
Expand Down

0 comments on commit 45aaad8

Please sign in to comment.