Adapted tests and solved bugs

This commit is contained in:
2025-05-09 18:25:03 +02:00
parent a2e6c9881a
commit 0d8027c908
3 changed files with 45 additions and 30 deletions

View File

@@ -53,7 +53,10 @@ def main():
with output_file.open("w", encoding="utf-8") as f:
yaml.dump(result, f, sort_keys=False)
print(f"✅ Generated: {output_file.relative_to(cwd)}")
try:
print(f"✅ Generated: {output_file.relative_to(cwd)}")
except ValueError:
print(f"✅ Generated: {output_file}")
if __name__ == "__main__":
main()