9722158c15
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. |
||
---|---|---|
.. | ||
code_reuse | ||
gitlab | ||
migration | ||
qa | ||
rspec | ||
avoid_break_from_strong_memoize.rb | ||
avoid_return_from_blocks.rb | ||
avoid_route_redirect_leading_slash.rb | ||
destroy_all.rb | ||
group_public_or_visible_to_user.rb | ||
include_sidekiq_worker.rb | ||
inject_enterprise_edition_module.rb | ||
line_break_around_conditional_block.rb | ||
prefer_class_methods_over_module.rb | ||
project_path_helper.rb | ||
ruby_interpolation_in_translation.rb | ||
safe_params.rb | ||
sidekiq_options_queue.rb |