lib/scss_lint/sass/tree.rb in scss-lint-0.23.1 vs lib/scss_lint/sass/tree.rb in scss-lint-0.24.0
- old
+ new
@@ -13,10 +13,10 @@
# The `args` field of some Sass::Tree::Node classes returns
# Sass::Script::Variable nodes with no line numbers. This adds the line
# numbers back in so lint reporting works for those nodes.
def add_line_numbers_to_args(arg_list)
- arg_list.each do |variable, default_expr|
+ arg_list.each do |variable, _default_expr|
add_line_number(variable)
end
end
# The Sass parser sometimes doesn't assign line numbers in cases where it