spec/build/graph/graph_spec.rb in build-graph-0.3.3 vs spec/build/graph/graph_spec.rb in build-graph-0.3.4
- old
+ new
@@ -81,13 +81,14 @@
return child_node
end
def run(*arguments)
if wet?
+ puts Rainbow(arguments.join(' ')).blue
status = @group.spawn(*arguments)
if status != 0
- raise RuntimeError.new(status)
+ raise CommandError.new(status)
end
end
end
def visit