lib/eco/cli/config/default/workflow.rb in eco-helpers-2.0.37 vs lib/eco/cli/config/default/workflow.rb in eco-helpers-2.0.38

- old
+ new

@@ -144,11 +144,14 @@ wf.on(:end) do |wf_end, io| get_people = io.options.dig(:people, :get) partial_update = get_people && get_people.dig(:type) == :partial unless !io.options[:end_get] || io.options[:dry_run] || partial_update - people = io.session.micro.people_cache - io = io.new(people: people) + # Prevent getting people when there were no use cases that used them + unless io.people + people = io.session.micro.people_cache + io = io.new(people: people) + end end io end end