From be700d856c5c456a275ac168399cf900b5770af8 Mon Sep 17 00:00:00 2001 From: Beth Skurrie Date: Sat, 9 Nov 2019 13:07:41 +1100 Subject: [PATCH] fix: remove missed &. --- lib/pact/pact_broker/fetch_pact_uris_for_verification.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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