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
Exception occured when processing: app/views/statistics/_find_question_form.html.erb
If this file cannot be processed by erb-lint, you can exclude it in your configuration file.
cause: #<NoMethodError: undefined method `begin_pos' for s(:str, "questions_for_form"):RuboCop::AST::StrNode
Did you mean? begin_type?>
/Users/fonsan/.rvm/gems/ruby-2.6.6@dok/gems/rubocop-0.82.0/lib/rubocop/cop/cop.rb:38:in `rescue in call'
/Users/fonsan/.rvm/gems/ruby-2.6.6@dok/gems/rubocop-0.82.0/lib/rubocop/cop/cop.rb:35:in `call'
/Users/fonsan/.rvm/gems/ruby-2.6.6@dok/gems/erb_lint-0.0.32/lib/erb_lint/linters/rubocop.rb:48:in `block in autocorrect'
/Users/fonsan/.rvm/gems/ruby-2.6.6@dok/gems/rubocop-0.82.0/lib/rubocop/cop/corrector.rb:63:in `block (2 levels) in rewrite'
/Users/fonsan/.rvm/gems/ruby-2.6.6@dok/gems/parser-2.7.1.1/lib/parser/source/tree_rewriter.rb:256:in `transaction'
/Users/fonsan/.rvm/gems/ruby-2.6.6@dok/gems/rubocop-0.82.0/lib/rubocop/cop/corrector.rb:62:in `block in rewrite'
I have tracked it down to this change which allows for other things than source ranges to pass through. Not sure if I will have to the time to fix it but leaving this here for the googles
I have tracked it down to this change which allows for other things than source ranges to pass through. Not sure if I will have to the time to fix it but leaving this here for the googles
rubocop/rubocop#7863
The text was updated successfully, but these errors were encountered: