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

Fix crash when linting an empty destructuring or import #7

Merged
merged 1 commit into from
Feb 5, 2016

Conversation

sorear
Copy link
Contributor

@sorear sorear commented Jan 23, 2016

The code is fairly useless, but it can come up e.g. while editing with an on the fly linter.


The test suite fails for me with nine instances of AssertionError: Error should be a string or object.; there should be no new failures.

The code is fairly useless, but it can come up e.g. while editing with
an on the fly linter.
feross added a commit that referenced this pull request Feb 5, 2016
Fix crash when linting an empty destructuring or import
@feross feross merged commit c1dbe98 into standard:master Feb 5, 2016
@feross
Copy link
Member

feross commented Feb 5, 2016

LGTM

@dcousens
Copy link
Member

dcousens commented Feb 5, 2016

I'm surprised you can run standard on the fly? :)

@sorear
Copy link
Contributor Author

sorear commented Feb 5, 2016

@dcousens I'm using https://atom.io/packages/linter-js-standard, which seems to work reliably and isn't too disruptive, except for the exception report popups. Unless you meant something else?

@dcousens
Copy link
Member

dcousens commented Feb 5, 2016

@sorear maybe I'm just too used to VIM running it in the main thread and causing a noticeable pause.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants