Skip to content

Commit

Permalink
Merge pull request #375 from Earlopain/team-new
Browse files Browse the repository at this point in the history
Don't use possibly deprecated RuboCop api
  • Loading branch information
etiennebarrie authored Sep 18, 2024
2 parents a46e322 + 5c53bbf commit 255fdb4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/erb_lint/linters/rubocop.rb
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ def cop_classes
end

def build_team
::RuboCop::Cop::Team.new(
::RuboCop::Cop::Team.mobilize(
cop_classes,
@rubocop_config,
extra_details: true,
Expand Down

0 comments on commit 255fdb4

Please sign in to comment.