bin/respec in respec-0.8.3 vs bin/respec in respec-0.9.0
- old
+ new
@@ -6,9 +6,12 @@
require 'shellwords'
app = Respec::App.new(*ARGV)
if app.help_only?
STDERR.puts app.help
+elsif app.error
+ STDERR.puts app.error
+ exit 1
else
STDERR.puts "++ #{app.command.shelljoin}"
exec *app.command
end