Commit ce853012 authored by Laurent Peuch's avatar Laurent Peuch
Browse files

fix: sometime the file is empty

parent fe9685a75f5a
Pipeline #16994 passed with stages
in 4 minutes and 20 seconds
......@@ -71,7 +71,11 @@ for cube in get_all_cubes():
for artifact in artifacts_archive.filelist:
if artifact.filename.endswith("-deprecated-warnings.json"):
content = json.loads(
content =
if not content:
content = json.loads(content)
result = defaultdict(lambda: {"count": 0, "path": set(), "projects": defaultdict(int)})
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment