Skip to content

Conversation

@lucatume
Copy link
Contributor

@lucatume lucatume commented Jun 2, 2022

This PR includes the original code from #74 to add tests.

  • Check if file exists and bail if not
  • Check if file exists
  • Improved error handling and warning messages
  • Fix typo
  • Improve warning message
  • Update feature to cover non existing files/dirs.

Copy link
Contributor Author

@lucatume lucatume left a comment

Choose a reason for hiding this comment

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

Wrong comment.

@schlessera schlessera force-pushed the bail-with-status-code-if-file-doesnt-exits branch from 0a7f90d to c269d55 Compare September 11, 2022 19:33
@schlessera schlessera added this to the 2.0.9 milestone Sep 11, 2022
@schlessera schlessera changed the title Wrap #74 to add tests Bail with status code if file does not exist Sep 11, 2022
@schlessera schlessera merged commit 9cc7f5b into wp-cli:master Sep 11, 2022
danielbachhuber pushed a commit that referenced this pull request Nov 18, 2022
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