Skip to content

Commit

Permalink
fix: remove missed &.
Browse files Browse the repository at this point in the history
  • Loading branch information
bethesque committed Nov 9, 2019
1 parent d90c422 commit be700d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/pact/pact_broker/fetch_pact_uris_for_verification.rb
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ def query
def log_message
latest = consumer_version_selectors.any? ? "" : "latest "
message = "INFO: Fetching #{latest}pacts for #{provider} from #{broker_base_url}"
if consumer_version_selectors&.any?
if consumer_version_selectors.any?
desc = consumer_version_selectors.collect do |selector|
all_or_latest = selector[:all] ? "all" : "latest"
# TODO support fallback
Expand Down

0 comments on commit be700d8

Please sign in to comment.