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
In my rails project when i do rake rubocop it fails with An error occurred while Style/WordArray cop was inspecting .... When i do plain rubocop -d it work fine.
Some debugging showed this: My rails project uses rails_admin which loads safe_yaml. It looks safe_yaml disables regex loading of !ruby/regexp from yaml by default.
In my rails project when i do rake rubocop it fails with
An error occurred while Style/WordArray cop was inspecting ...
. When i do plain rubocop -d it work fine.Some debugging showed this: My rails project uses rails_admin which loads safe_yaml. It looks safe_yaml disables regex loading of
!ruby/regexp
from yaml by default.Seems to be caused by this commit
36b857f
The text was updated successfully, but these errors were encountered: