Skip to content

Commit 255fdb4

Browse files
Merge pull request #375 from Earlopain/team-new
Don't use possibly deprecated RuboCop api
2 parents a46e322 + 5c53bbf commit 255fdb4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/erb_lint/linters/rubocop.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ def cop_classes
154154
end
155155

156156
def build_team
157-
::RuboCop::Cop::Team.new(
157+
::RuboCop::Cop::Team.mobilize(
158158
cop_classes,
159159
@rubocop_config,
160160
extra_details: true,

0 commit comments

Comments
 (0)