Skip to content

Commit

Permalink
style: rubocop
Browse files Browse the repository at this point in the history
  • Loading branch information
bethesque committed Jul 6, 2022
1 parent 55e9ee2 commit b8c836f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions lib/pact_broker/matrix/service.rb
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def find_for_consumer_and_provider_with_tags params
end
end

# rubocop: disable Metrics/CyclomaticComplexity, Metrics/MethodLength
# rubocop: disable Metrics/CyclomaticComplexity
def validate_selectors selectors, options = {}
error_messages = []

Expand All @@ -79,8 +79,9 @@ def validate_selectors selectors, options = {}

error_messages + validate_options(options)
end
# rubocop: enable Metrics/CyclomaticComplexity, Metrics/MethodLength
# rubocop: enable Metrics/CyclomaticComplexity

# rubocop: disable Metrics/CyclomaticComplexity
def validate_options(options = {})
error_messages = []

Expand Down Expand Up @@ -114,6 +115,7 @@ def validate_options(options = {})

error_messages
end
# rubocop: enable Metrics/CyclomaticComplexity
end
end
end

0 comments on commit b8c836f

Please sign in to comment.