Skip to content

Commit

Permalink
style: rubocop
Browse files Browse the repository at this point in the history
  • Loading branch information
bethesque committed Jul 15, 2021
1 parent c765afe commit f44bfae
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/pact_broker/pacts/verifiable_pact_messages.rb
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,7 @@ def selectors_descriptions(selectors)
end

# rubocop: disable Metrics/CyclomaticComplexity
# rubocop: disable Metrics/MethodLength
def selector_description selector
description = if selector.overall_latest?
consumer_label = selector.consumer ? selector.consumer : "a consumer"
Expand Down Expand Up @@ -216,6 +217,7 @@ def selector_description selector
"#{description} (#{selector.consumer_version.number})"
end
# rubocop: enable Metrics/CyclomaticComplexity
# rubocop: enable Metrics/MethodLength

def currently_deployed_selectors_description(selectors)
selectors.group_by(&:consumer).flat_map do | consumer_name, consumer_selectors |
Expand Down

0 comments on commit f44bfae

Please sign in to comment.