From 84327bec22acd9b0de61f3f9de7950001f9a653c Mon Sep 17 00:00:00 2001 From: Beth Skurrie Date: Fri, 27 Oct 2017 21:50:13 +1100 Subject: [PATCH] chore(can-i-deploy): allow and ignore arguments --- lib/pact_broker/client/cli/broker.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/pact_broker/client/cli/broker.rb b/lib/pact_broker/client/cli/broker.rb index f5074137..c30412ae 100644 --- a/lib/pact_broker/client/cli/broker.rb +++ b/lib/pact_broker/client/cli/broker.rb @@ -22,7 +22,7 @@ class Broker < CustomThor method_option :output, aliases: "-o", desc: "json or table", default: 'table' method_option :verbose, aliases: "-v", desc: "Verbose output", :required => false - def can_i_deploy + def can_i_deploy(*ignored) selectors = VersionSelectorOptionsParser.call(ARGV) result = CanIDeploy.call(options.broker_base_url, selectors, {output: options.output}, pact_broker_client_options) $stdout.puts result.message