Skip to content

Commit 80cd16a

Browse files
committed
polish
1 parent 98ba675 commit 80cd16a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/splitclient-rb/engine/matchers/rule_based_segment_matcher.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ def match?(args)
3030
rule_based_segment[:excluded][:segments].each do |segment|
3131
return false if segment[:type] == 'standard' and @segments_repository.in_segment?(segment[:name], args[:value])
3232

33-
return false if SplitIoClient::RuleBasedSegmentMatcher.new(@segments_repository, @rule_based_segments_repository, segment[:name], @config).match?(args)
33+
return false if segment[:type] == 'rule-based' and SplitIoClient::RuleBasedSegmentMatcher.new(@segments_repository, @rule_based_segments_repository, segment[:name], @config).match?(args)
3434
end
3535

3636
matches = false

0 commit comments

Comments
 (0)