Skip to content

Commit

Permalink
chore(can-i-deploy): allow and ignore arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
bethesque committed Oct 27, 2017
1 parent 216bfdc commit 84327be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/pact_broker/client/cli/broker.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 84327be

Please sign in to comment.