spec/build/graph/process_graph.rb in build-graph-1.4.1 vs spec/build/graph/process_graph.rb in build-graph-1.4.2
- old
+ new
@@ -1,11 +1,11 @@
require 'process/group'
require 'build/files'
require 'build/graph'
-require 'event/shell'
+require 'console/event/spawn'
class ProcessNode < Build::Graph::Node
def initialize(inputs, outputs, block, title: nil)
super(inputs, outputs, block.source_location)
@@ -45,10 +45,10 @@
@node.dirty?
end
def run(*arguments)
if wet?
- @walker.logger.debug(self) {Event::Shell.for(*arguments)}
+ @walker.logger.debug(self) {Console::Event::Spawn.for(*arguments)}
status = @group.spawn(*arguments)
if status != 0
raise CommandError.new(status)