lib/scss_lint/runner.rb in scss-lint-0.23.1 vs lib/scss_lint/runner.rb in scss-lint-0.24.0
- old
+ new
@@ -47,11 +47,11 @@
"'#{error.message}'",
error.backtrace
end
end
rescue Sass::SyntaxError => ex
- @lints << Lint.new(ex.sass_filename, Location.new(ex.sass_line), ex.to_s, :error)
+ @lints << Lint.new(nil, ex.sass_filename, Location.new(ex.sass_line), ex.to_s, :error)
rescue FileEncodingError => ex
- @lints << Lint.new(file, Location.new, ex.to_s, :error)
+ @lints << Lint.new(nil, file, Location.new, ex.to_s, :error)
end
end
end