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
I'm trying to upgrade rubocop-rails from version 2.21.2 to version 2.22.1. Rubocop runs fine with the older version. On the newer version, I see a bunch of errors like this:
An error occurred while Rails/UnknownEnv cop was inspecting /srv/agra/spec/models/email_spec.rb:75:38.
Expected behavior
I expected RuboCop Rails not to generate errors while running.
Actual behavior
When I run rubocop, I see a bunch of errors like An error occurred while Rails/UnknownEnv cop was inspecting (some file name and line number).
When I run with -d, I see this backtrace for the error:
I'm trying to upgrade rubocop-rails from version 2.21.2 to version 2.22.1. Rubocop runs fine with the older version. On the newer version, I see a bunch of errors like this:
An error occurred while Rails/UnknownEnv cop was inspecting /srv/agra/spec/models/email_spec.rb:75:38.
Expected behavior
I expected RuboCop Rails not to generate errors while running.
Actual behavior
When I run rubocop, I see a bunch of errors like
An error occurred while Rails/UnknownEnv cop was inspecting (some file name and line number)
.When I run with
-d
, I see this backtrace for the error:Steps to reproduce the problem
RuboCop version
The text was updated successfully, but these errors were encountered: