lib/rubocop/cop/registry.rb in rubocop-1.60.2 vs lib/rubocop/cop/registry.rb in rubocop-1.61.0
- old
+ new
@@ -298,10 +298,10 @@
def resolve_badge(given_badge, real_badge, source_path)
unless given_badge.match?(real_badge)
path = PathUtil.smart_path(source_path)
warn "#{path}: #{given_badge} has the wrong namespace - " \
- "should be #{real_badge.department}"
+ "replace it with #{given_badge.with_department(real_badge.department)}"
end
real_badge.to_s
end