lib/scss_lint/utils.rb in scss-lint-0.23.0 vs lib/scss_lint/utils.rb in scss-lint-0.23.1

- old
+ new

@@ -13,12 +13,12 @@ # .selector-one, .selector--two # # This is useful for lints that wish to ignore interpolation, since # interpolation can't be resolved at this step. def extract_string_selectors(selector_array) - selector_array.reject { |item| item.is_a? Sass::Script::Node }. - join. - split + selector_array.reject { |item| item.is_a? Sass::Script::Node } + .join + .split end def shortest_hex_form(hex) (can_be_condensed?(hex) ? (hex[0..1] + hex[3] + hex[5]) : hex).downcase end