diff --git a/lib/pact/pact_broker/fetch_pact_uris_for_verification.rb b/lib/pact/pact_broker/fetch_pact_uris_for_verification.rb index 32c7cb2f..ca94501f 100644 --- a/lib/pact/pact_broker/fetch_pact_uris_for_verification.rb +++ b/lib/pact/pact_broker/fetch_pact_uris_for_verification.rb @@ -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