lib/scss_lint/reporter/default_reporter.rb in scss-lint-0.22.0 vs lib/scss_lint/reporter/default_reporter.rb in scss-lint-0.23.0

- old
+ new

@@ -3,10 +3,10 @@ class Reporter::DefaultReporter < Reporter def report_lints if lints.any? lints.map do |lint| type = lint.error? ? '[E]'.color(:red) : '[W]'.color(:yellow) - "#{lint.filename.color(:cyan)}:" << "#{lint.line}".color(:magenta) << + "#{lint.filename.color(:cyan)}:" << "#{lint.location.line}".color(:magenta) << " #{type} #{lint.description}" end.join("\n") + "\n" end end end