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
When I created a list of paths separated by colon (like $PATH envvar) including Rails.root, the Rails/FilePath cop warns to use Rails.root.join. But it's not appropriate in this case.
When I created a list of paths separated by colon (like
$PATH
envvar) includingRails.root
, theRails/FilePath
cop warns to useRails.root.join
. But it's not appropriate in this case.Expected behavior
No warning is emitted.
Actual behavior
Steps to reproduce the problem
https://github.com/tk0miya/rubocop-rails-bugs is a minimal reproducible project.
RuboCop version
The text was updated successfully, but these errors were encountered: