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

Make EndOfLine cop work again. #599

Merged
merged 1 commit into from
Nov 3, 2013
Merged

Conversation

jonas054
Copy link
Collaborator

@jonas054 jonas054 commented Nov 3, 2013

When Parser started processing line endings, the EndOfLine cop stopped working. Fix by reading file again.

This means that each file is read an extra time. I've checked if it affects performance, but couldn't see any difference.

When Parser started processing line endings, the EndOfLine cop stopped working. Fix by reading file again.
@bbatsov
Copy link
Collaborator

bbatsov commented Nov 3, 2013

👍

bbatsov added a commit that referenced this pull request Nov 3, 2013
Make EndOfLine cop work again.
@bbatsov bbatsov merged commit ec4bb58 into rubocop:master Nov 3, 2013
@jonas054 jonas054 deleted the fix_eol_cop branch November 3, 2013 09:12
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.

2 participants