Skip to content

Commit

Permalink
fix(list-latest-pact-versions): correct json output
Browse files Browse the repository at this point in the history
  • Loading branch information
bethesque committed Oct 26, 2020
1 parent d8eaf16 commit cf77666
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/pact_broker/client/pacts/list_latest_versions.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def initialize(pact_broker_base_url, output, pact_broker_client_options)

def call
message = if output == 'json'
versions_resource.response.body
versions_resource.response.raw_body
else
to_text(versions)
end
Expand Down

0 comments on commit cf77666

Please sign in to comment.