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

Add --debug output for the file being processed. #183

Merged
merged 2 commits into from
Oct 22, 2019

Conversation

ocean90
Copy link
Contributor

@ocean90 ocean90 commented Oct 18, 2019

For debugging purposes it would be helpful to know what file is currently processed.

Initially suggested by @schlessera.

src/JsCodeExtractor.php Outdated Show resolved Hide resolved
@schlessera
Copy link
Member

@ocean90 Using sprintf() and multiple lines here is overkill and detracts from the actual logic. I'd prefer each of these to be single lines instead.

@schlessera schlessera added this to the 2.2.1 milestone Oct 22, 2019
@schlessera
Copy link
Member

All failures unrelated (and waiting for php-gettext/Gettext#231 to get solved), so merging as-is.

@schlessera schlessera merged commit 96e74a5 into wp-cli:master Oct 22, 2019
@ocean90 ocean90 deleted the feature/debug-message-file-parsing branch October 22, 2019 16:56
@kkmuffme kkmuffme mentioned this pull request Nov 15, 2019
schlessera added a commit that referenced this pull request Jan 6, 2022
Add `--debug` output for the file being processed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants