lib/slim_lint/document.rb in slim_lint-0.8.3 vs lib/slim_lint/document.rb in slim_lint-0.9.0
- old
+ new
@@ -42,10 +42,10 @@
@source = process_encoding(source)
@source = strip_frontmatter(source)
@source_lines = @source.split("\n")
engine = SlimLint::Engine.new(file: @file)
- @sexp = engine.parse(source)
+ @sexp = engine.parse(@source)
end
# Ensure the string's encoding is valid.
#
# @param source [String]