Skip to content

Commit 1b71ff2

Browse files
committed
Rollback changes due to errors
1 parent 71086b1 commit 1b71ff2

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

generatorv2/lib/utils.rb

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,11 @@ def additional_json(json)
4646

4747
def remove_tests(uuid, json)
4848
json['cases'].each_with_object([]) do |x, acc|
49-
acc << if x['cases']
50-
{ 'cases' => remove_tests(uuid, x), 'description' => x['description'] }
51-
elsif uuid.include?(x['uuid'])
52-
x
53-
end
49+
if x['cases']
50+
acc << { 'cases' => remove_tests(uuid, x), 'description' => x['description'] }
51+
elsif uuid.include?(x['uuid'])
52+
acc << x
53+
end
5454
end
5555
end
5656
end

0 commit comments

Comments
 (0)