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

- old
+ new

@@ -179,10 +179,10 @@ VALID_EXTENSIONS.include?(File.extname(file)) end # @param lints [Array<Lint>] def report_lints(lints) - sorted_lints = lints.sort_by { |l| [l.filename, l.line] } + sorted_lints = lints.sort_by { |l| [l.filename, l.location] } reporter = @options.fetch(:reporter, Reporter::DefaultReporter) .new(sorted_lints) output = reporter.report_lints print output if output end