lib/eco/cli/config/default/workflow.rb in eco-helpers-1.0.13 vs lib/eco/cli/config/default/workflow.rb in eco-helpers-1.0.14
- old
+ new
@@ -30,11 +30,12 @@
io
end
wf.on(:usecases) do |wf_cases, io|
unless config.usecases.process(io: io)
- io.session.logger.warn("No update operation specified... quitting")
- exit
+ msg = "No update operation specified... quitting"
+ io.session.logger.warn(msg)
+ exit(1)
end
io
end
wf.before(:launch_jobs) do |wf_jobs, io|