Ensure env cleanup always happen in CLI#run
This commit is contained in:
@@ -45,6 +45,7 @@ module Producer
|
||||
|
||||
def run(worker: Worker.new(@env))
|
||||
evaluate_recipes.each { |recipe| worker.process recipe.tasks }
|
||||
ensure
|
||||
@env.cleanup
|
||||
end
|
||||
|
||||
|
Reference in New Issue
Block a user