Output the current stored data in action (#4033)

* Output the current stored data in action

* update snapshot

* limit objective
This commit is contained in:
Joakim Sørensen
2024-09-04 07:21:03 +02:00
committed by GitHub
parent a114d1f622
commit 0619ec93cd

View File

@ -522,6 +522,17 @@ async def generate_category_data(category: str, repository_name: str = None):
"Validation did raise but did not exit!", category)
sys.exit(1) # Fallback, should not be reached
with open(
os.path.join(OUTPUT_DIR, category, "stored.json"),
mode="w",
encoding="utf-8",
) as data_file:
json.dump(
stored_data,
data_file,
cls=JSONEncoder,
separators=(",", ":"),
)
with open(
os.path.join(OUTPUT_DIR, category, "data.json"),
mode="w",