Skip to content

Commit

Permalink
Revert "Fix build error when using Ruby 2.8.0-dev"
Browse files Browse the repository at this point in the history
This reverts commit ee123f4.
  • Loading branch information
marcandre committed Jul 22, 2020
1 parent 343f62e commit f9ee106
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/rubocop/comment_config.rb
Expand Up @@ -107,7 +107,7 @@ def analyze_rest(analysis, line)
def cop_line_ranges(analysis)
return analysis.line_ranges unless analysis.start_line_number

analysis.line_ranges + [(analysis.start_line_number.to_f..Float::INFINITY)]
analysis.line_ranges + [(analysis.start_line_number..Float::INFINITY)]
end

def each_mentioned_cop
Expand Down

0 comments on commit f9ee106

Please sign in to comment.