lib/build/chain_node.rb in build-2.5.2 vs lib/build/chain_node.rb in build-2.6.0
- old
+ new
@@ -64,12 +64,12 @@
# This is the main entry point when invoking the node from `Build::Task`.
def apply!(task)
# Go through all the dependencies in order and apply them to the build graph:
@chain.dependencies.each do |dependency|
- node = DependencyNode.new(@chain, dependency, @environment, @arguments)
-
- task.invoke(node)
+ task.invoke(
+ DependencyNode.new(@chain, dependency, @environment, @arguments)
+ )
end
end
def inspect
"#<#{self.class} #{@environment.inspect}>"