lib/scss_lint/linter/leading_zero.rb in scss-lint-0.28.0 vs lib/scss_lint/linter/leading_zero.rb in scss-lint-0.29.0

- old
+ new

@@ -12,13 +12,11 @@ check_number(node, number) end end def visit_script_number(node) - # TODO: Remove once https://github.com/sass/sass/issues/1343 is fixed - return unless source = source_from_range(node.source_range) - - return unless number = source[FRACTIONAL_DIGIT_REGEX, 1] + return unless number = + source_from_range(node.source_range)[FRACTIONAL_DIGIT_REGEX, 1] check_number(node, number) end private