lib/scss_lint/linter/selector_depth.rb in scss-lint-0.22.0 vs lib/scss_lint/linter/selector_depth.rb in scss-lint-0.23.0
- old
+ new
@@ -13,10 +13,10 @@
old_depth = @depth
@depth = max_sequence_depth(node.parsed_rules, @depth)
if @depth > @max_depth
add_lint(node.parsed_rules || node,
- 'Selector should have depth of applicability no greater ' <<
+ 'Selector should have depth of applicability no greater ' \
"than #{@max_depth}, but was #{@depth}")
end
yield # Continue linting children
@depth = old_depth