You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ bundle exec rubocop -d tmp/debug-perf-sum.rb
For /Users/colin/code/hap: configuration from /Users/colin/code/hap/.rubocop.yml
configuration from /Users/colin/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/rubocop-performance-1.9.2/config/default.yml
configuration from /Users/colin/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/rubocop-performance-1.9.2/config/default.yml
Default configuration from /Users/colin/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/rubocop-1.8.1/config/default.yml
configuration from /Users/colin/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/rubocop-rails-2.9.1/config/default.yml
configuration from /Users/colin/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/rubocop-rails-2.9.1/config/default.yml
Inheriting configuration from /Users/colin/code/hap/.rubocop_todo.yml
Inspecting 1 file
Scanning /Users/colin/code/hap/tmp/debug-perf-sum.rb
An error occurred while Performance/Sum cop was inspecting /Users/colin/code/hap/tmp/debug-perf-sum.rb:10:14.
undefined method `source_range' for nil:NilClass
Rubocop reports an error parsing this simplified code with cop Performance/Sum :
The text was updated successfully, but these errors were encountered: