Skip to content

Commit

Permalink
fix: add missing require for PactBroker::Client::Error
Browse files Browse the repository at this point in the history
  • Loading branch information
bethesque committed Jul 31, 2020
1 parent ed72583 commit 72eb796
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/pact_broker/client/cli/broker.rb
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ def can_i_deploy(*ignored_but_necessary)
method_option :verbose, aliases: "-v", type: :boolean, default: false, required: false, desc: "Verbose output. Default: false"

def publish(*pact_files)
require 'pact_broker/client/error'
validate_credentials
validate_pact_files(pact_files)
success = publish_pacts(pact_files)
Expand Down

0 comments on commit 72eb796

Please sign in to comment.