lib/scss_lint/linter/bang_format.rb in scss-lint-0.33.0 vs lib/scss_lint/linter/bang_format.rb in scss-lint-0.34.0

- old
+ new

@@ -4,10 +4,10 @@ include LinterRegistry STOPPING_CHARACTERS = ['!', "'", '"', nil] def visit_prop(node) - return unless node.to_sass.include?('!') + return unless source_from_range(node.source_range).include?('!') return unless check_spacing(node) before_qualifier = config['space_before_bang'] ? '' : 'not ' after_qualifier = config['space_after_bang'] ? '' : 'not '