Skip to content

bail early in theme command if theme is broken or has error#2798

Merged
danielbachhuber merged 35 commits into
wp-cli:masterfrom
ernilambar:branch-2790
May 22, 2016
Merged

bail early in theme command if theme is broken or has error#2798
danielbachhuber merged 35 commits into
wp-cli:masterfrom
ernilambar:branch-2790

Conversation

@ernilambar
Copy link
Copy Markdown
Member

@ernilambar ernilambar commented May 20, 2016

Command theme:

Bail early if theme is broken or has error. Fixes #2790

@ernilambar
Copy link
Copy Markdown
Member Author

When there is error, I have displayed same error send from WP. What do you say about this? Do you suggest custom error message? If PR is good then I will add some tests scenario.

@danielbachhuber
Copy link
Copy Markdown
Member

When there is error, I have displayed same error send from WP. What do you say about this? Do you suggest custom error message?

The default error seems fine.

If PR is good then I will add some tests scenario.

👍

@danielbachhuber
Copy link
Copy Markdown
Member

danielbachhuber commented May 22, 2016

@ernilambar In the future, can you please merge instead of rebase? Thanks

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.

5 participants