Error in VariableForce cop related to uninitialized constant DidYouMean::SpellChecker
#8087
Labels
uninitialized constant DidYouMean::SpellChecker
#8087
Getting
uninitialized constant DidYouMean::SpellChecker
error while runningrubocop
from the VariableForce copExpected behavior
Run
rubocop
, not get errorActual behavior
Getting error with following stacktrace:
I think it is likely related to this method where a variable is set inside a transaction block
Steps to reproduce the problem
An error is occurring related to this line:
https://github.com/rubocop-hq/rubocop/blob/master/lib/rubocop/name_similarity.rb#L18
which was recently added in this commit:
c92a591
RuboCop version
Include the output of
rubocop -V
orbundle exec rubocop -V
if using Bundler. Here's an example:The text was updated successfully, but these errors were encountered: