Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve "Adding deferred command..." debug output (Closes: #4893) #5242

Merged
merged 1 commit into from Aug 13, 2019

Conversation

@l3ku
Copy link
Contributor

commented Jun 20, 2019

This PR addresses #4893 to print the output of deferred additions in a prettier format.

Before:

Debug (bootstrap): Adding deferred command: premise-authnet cancel-subscription => {"parent":"premise-authnet","callable":[{},"cancel_subscription"],"args":{"is_deferred":true}} (0.828s)

After:

Debug (bootstrap): Adding deferred command:  premise-authnet cancel-subscription (parent: premise-authnet, callable: Array::cancel_subscription(), args: {"is_deferred":true}) (0.828s)

@l3ku l3ku requested a review from wp-cli/committers as a code owner Jun 20, 2019

@schlessera schlessera added this to the 2.3.0 milestone Aug 13, 2019

@schlessera schlessera merged commit a012e2a into wp-cli:master Aug 13, 2019

2 checks passed

DEP All dependencies are resolved
continuous-integration/travis-ci/pr The Travis CI build passed
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
2 participants
You can’t perform that action at this time.