lib/mina/commands.rb in mina-1.0.5 vs lib/mina/commands.rb in mina-1.0.6
- old
+ new
@@ -37,9 +37,13 @@
else
queue[stage].join("\n")
end
end
+ def run_default?
+ !queue.empty? && stage == :default
+ end
+
def run(backend)
return if queue.empty?
report_time do
status = Mina::Runner.new(process, backend).run
error! 'Run Error' unless status