• Yorick Peterse's avatar
    Fix detecting nested EE constants in RuboCop · 9722158c
    Yorick Peterse authored
    The InjectEnterpriseEditionModule cop would not detect certain nested EE
    constants such as `EE::Foo::Bar::Baz`. This could result in it not
    enforcing `prepend` being placed on the last line. This commit fixes
    this by just performing a string match on the line, instead of relying
    on AST matching.
    9722158c
Name
Last commit
Last update
..
cop Loading commit data...
code_reuse_helpers_spec.rb Loading commit data...
qa_helpers_spec.rb Loading commit data...