lib/packwerk/node_processor.rb in packwerk-2.0.0 vs lib/packwerk/node_processor.rb in packwerk-2.1.0

- old
+ new

@@ -19,10 +19,10 @@ sig do params( node: Parser::AST::Node, ancestors: T::Array[Parser::AST::Node] - ).returns(T.nilable(Packwerk::Reference)) + ).returns(T.nilable(UnresolvedReference)) end def call(node, ancestors) return unless Node.method_call?(node) || Node.constant?(node) @reference_extractor.reference_from_node(node, ancestors: ancestors, file_path: @filename) end