lib/rubocop/config_loader.rb in rubocop-1.17.0 vs lib/rubocop/config_loader.rb in rubocop-1.18.0
- old
+ new
@@ -227,10 +227,10 @@
# .start_line is only available since ruby 2.5 / psych 3.0
message = if key1.respond_to? :start_line
line1 = key1.start_line + 1
line2 = key2.start_line + 1
"#{smart_path}:#{line1}: " \
- "`#{value}` is concealed by line #{line2}"
+ "`#{value}` is concealed by line #{line2}"
else
"#{smart_path}: `#{value}` is concealed by duplicate"
end
warn Rainbow(message).yellow
end