Skip to content
This repository has been archived by the owner on Aug 7, 2023. It is now read-only.

Handle undefined ranges #54

Merged
merged 1 commit into from
Apr 12, 2018
Merged

Handle undefined ranges #54

merged 1 commit into from
Apr 12, 2018

Conversation

Arcanemagus
Copy link
Member

If the findRangeRecursive function was unable to determine a range for an error message, use the entire first line of the file as the range reported. This isn't exactly ideal, but doing this in the same way errors like this are handled in other providers would require a large rewrite.

Originally reported in AtomLinter/atom-minimap-linter#25 that this was an issue.

If the findRangeRecursive function was unable to determine a range for
an error message, use the entire first line of the file as the range
reported. This isn't exactly ideal, but doing this in the same way
errors like this are handled in other providers would require a large
rewrite.
@Arcanemagus Arcanemagus self-assigned this Sep 22, 2017
Copy link
Collaborator

@spoike spoike left a comment

Choose a reason for hiding this comment

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

LGTM 👍

@spoike spoike merged commit 9467aa9 into master Apr 12, 2018
@spoike spoike deleted the arcanemagus/fix-ranges branch April 12, 2018 18:36
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants