lib/eco/cli/config/default/workflow.rb in eco-helpers-2.0.16 vs lib/eco/cli/config/default/workflow.rb in eco-helpers-2.0.17
- old
+ new
@@ -27,10 +27,10 @@
next io unless (!io.input || io.input.empty?) && !cases_with_input.empty?
if io.options.dig(:input, :entries_from)
io = io.new(input: config.input.get(io: io))
else
- opt_case = cases_with_input.values.first[:option]
+ opt_case = cases_with_input.values.first.option
io = io.new(input: config.input.get(io: io, option: opt_case))
end
io
end