Skip to content

Commit

Permalink
Merge pull request #722 from stan-is-hate/patch-2
Browse files Browse the repository at this point in the history
fix: make clean_task.rb print the payload correctly
  • Loading branch information
mefellows authored Sep 9, 2024
2 parents 7588de6 + 10fd69e commit 7eb80ee
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 7eb80ee

Please sign in to comment.