From ccb17ce06b865d3007c74b5596dc997adc65de22 Mon Sep 17 00:00:00 2001 From: meatball Date: Mon, 4 Aug 2025 22:37:03 +0200 Subject: [PATCH] Fix infinte loop --- generatorv2/lib/utils.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generatorv2/lib/utils.rb b/generatorv2/lib/utils.rb index 04a9f87e4e..d6b80971e6 100644 --- a/generatorv2/lib/utils.rb +++ b/generatorv2/lib/utils.rb @@ -47,7 +47,7 @@ def additional_json(json) def remove_tests(uuid, json) json["cases"].each_with_object([]) do |x, acc| if x["cases"] - acc << remove_tests(uuid, json) + acc << { "cases" => remove_tests(uuid, x) } elsif uuid.include?(x["uuid"]) acc << x end