lib/scss_lint/linter/indentation.rb in scss_lint-0.57.1 vs lib/scss_lint/linter/indentation.rb in scss_lint-0.58.0
- old
+ new
@@ -96,10 +96,10 @@
end
end
def visit_import(node)
previous_node(node)
- return unless engine.lines[node.line - 1] =~ /@import/
+ return unless engine.lines[node.line - 1].match?(/@import/)
check_indentation(node)
end
# Define node types that increase indentation level
alias visit_directive check_and_visit_children