lib/eco-rake/shell/command.rb in eco-rake-0.1.1 vs lib/eco-rake/shell/command.rb in eco-rake-0.1.2
- old
+ new
@@ -50,9 +50,10 @@
yield(ok, res) if block_given?
unless ok
msg = "Command failed (status = #{res.exitstatus})"
puts "#{msg}\n • #{comm}"
end
+ res.exitstatus
end
end
end
end
end