-
Notifications
You must be signed in to change notification settings - Fork 90
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
feat: cli command that will only print errors #68
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is good, but there a couple changes to make.
Also, will you add a couple test cases? The optionHandling.js
file is where they would go. Test this for printJson
as well
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Still some changes needed. Make sure you're going through your changes before you commit to ensure you aren't accidentally pushing old console statements, etc
Codecov Report
@@ Coverage Diff @@
## master #68 +/- ##
=========================================
Coverage ? 91.75%
=========================================
Files ? 51
Lines ? 1856
Branches ? 0
=========================================
Hits ? 1703
Misses ? 153
Partials ? 0
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is almost ready, just some style changes left
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good 👍
# [0.12.0](v0.11.2...v0.12.0) (2019-06-24) ### Features * new cli option, `--errors_only`, for printing only the errors ([#68](#68)) ([a338bf0](a338bf0))
🎉 This PR is included in version 0.12.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Users can now use '-e' or '--only_errors' cli commands when using the validator to only see errors instead of the list of warnings and errors