lib/face_control/checkers/rubocop.rb in face_control-0.8.6 vs lib/face_control/checkers/rubocop.rb in face_control-0.9.0
- old
+ new
@@ -56,10 +56,10 @@
end
def style_guide_url(offense)
cop_name = offense['cop_name']
config = ::RuboCop::ConfigLoader.default_configuration
- ::RuboCop::Cop::MessageAnnotator.new(config, cop_name, config.for_cop(cop_name), {}).urls.first
+ ::RuboCop::Cop::MessageAnnotator.new(config, config.for_cop(cop_name), {}).urls.first
end
end
end
end