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

Fixes zero location support #153

Merged
merged 1 commit into from Oct 14, 2016

Conversation

mysticatea
Copy link
Contributor

  • problem.line, problem.column, problem.endLine, and
    problem.endColumn may be zero.
  • In that case, vscode-eslint seems to crash silently.
  • This PR modifies the location calculation to avoid the crash.

- `problem.line`, `problem.column`, `problem.endLine`, and
`problem.endColumn` may be zero.
- In that case, `vscode-eslint` seems to crash.
- This commit modifies the location calculation to avoid the crash.
@dbaeumer dbaeumer merged commit 3b373eb into microsoft:master Oct 14, 2016
@dbaeumer
Copy link
Member

Thanks for the PR.

@mysticatea mysticatea deleted the zero-location-support branch October 14, 2016 22:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants