Skip to content

Commit

Permalink
fix: make clean_task.rb print the payload correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
stan-is-hate authored Sep 6, 2024
1 parent 7588de6 commit 10fd69e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/pact_broker/tasks/clean_task.rb
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ def with_lock

def output(string, payload = {})
prefix = dry_run ? "[DRY RUN] " : ""
logger ? logger.info("#{prefix}#{string}") : puts("#{prefix}#{string} #{payload.to_json}")
logger ? logger.info("#{prefix}#{string}", payload) : puts("#{prefix}#{string} #{payload.to_json}")
end

def add_defaults_to_keep_selectors
Expand Down

0 comments on commit 10fd69e

Please sign in to comment.