lib/sass/tree.rb in scss-lint-0.7.0 vs lib/sass/tree.rb in scss-lint-0.7.1
- old
+ new
@@ -50,10 +50,15 @@
end
end
class DirectiveNode
def children
- concat_expr_lists super, extract_script_nodes(value)
+ begin
+ additional_children = extract_script_nodes(value)
+ rescue NotImplementedError
+ # Directive nodes may not define `value`
+ end
+ concat_expr_lists super, additional_children
end
end
class EachNode
def children