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

Remove extraneous error check #191

Merged
merged 1 commit into from
Feb 22, 2024
Merged

Remove extraneous error check #191

merged 1 commit into from
Feb 22, 2024

Conversation

ernilambar
Copy link
Member

Fixes #190

I think we don't need to add another test for this PR. After adding separate test for this change I realized there is already similar test for the case when media could not be regenerated. So I reverted the tests addition. See: https://github.com/wp-cli/media-command/blob/main/features/media-regenerate.feature#L309

@ernilambar ernilambar requested a review from a team as a code owner February 22, 2024 05:13
@danielbachhuber danielbachhuber added this to the 2.1.0 milestone Feb 22, 2024
Copy link
Member

@danielbachhuber danielbachhuber left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sounds good, thanks @ernilambar !

@danielbachhuber danielbachhuber merged commit 0a79826 into wp-cli:main Feb 22, 2024
2 checks passed
@ernilambar ernilambar deleted the 190-fix-error-check branch March 19, 2024 11:16
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.

Dead code in media command class
2 participants