-
-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Change CLI file parsing errors to use an error code #4502
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.
thanks Evaline! I have some comments/suggestions... please let me know what you think.
There's a conflict in |
in case anyone else was wondering, I think "unparsable" is correct and "unparseable" is not. my spell checker dislikes both 😄 |
I'm not really sure if there is/was a temporary problem with the browser tests since I saw at least another PR with the same failure. At the same time, I don't know how to just re-run the test. 🤔 |
hmm. I'll look into that error. some saucelabs weirdness.. hope it's just temporary. this seems to have a conflict now--could you please rebase onto |
fcc005c
to
3c81ed8
Compare
After a long hiatus I have tried to formally rebase - looks like the browser test on forked PRs problem is known and still existing |
You can ignore the browser test. We are working on #4553 . |
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.
@evaline-ju thank you for this PR.
Description of the Change
After the implementations of #3467 and #3666 and #4464, there are a few instances in the code that do not use error codes yet.
Alternate Designs
Open to other names for this error code
Why should this be in core?
Using codes is a best practice like in Node.js, codes help identify errors as mocha errors at a glance
Benefits
Using codes is a best practice like in Node.js, codes help identify errors as mocha errors at a glance
Possible Drawbacks
None I'm aware of
Applicable issues
Contributes to #3656, semver-minor