lib/scss_lint/runner.rb in scss-lint-0.29.0 vs lib/scss_lint/runner.rb in scss-lint-0.30.0
- old
+ new
@@ -46,10 +46,11 @@
"'#{error.message}'",
error.backtrace
end
end
rescue Sass::SyntaxError => ex
- @lints << Lint.new(nil, ex.sass_filename, Location.new(ex.sass_line), ex.to_s, :error)
+ @lints << Lint.new(nil, ex.sass_filename, Location.new(ex.sass_line),
+ "Syntax Error: #{ex}", :error)
rescue FileEncodingError => ex
@lints << Lint.new(nil, file, Location.new, ex.to_s, :error)
end
# For stubbing in tests.