added github annotations

This commit is contained in:
Surferlul 2023-10-13 18:18:04 +02:00
parent c880a6a07a
commit f79a3ea05a

View File

@ -13,10 +13,10 @@ def iter_svgs(vault_path, draws):
for draw in draws: for draw in draws:
svg = Path("assets/excalidraw_svg").joinpath(Path(draw).with_suffix(".svg").name) svg = Path("assets/excalidraw_svg").joinpath(Path(draw).with_suffix(".svg").name)
if vault_path.joinpath(svg).is_file(): if vault_path.joinpath(svg).is_file():
print("[found]", svg) print("::debug [found]", svg)
yield draw, svg yield draw, svg
else: else:
eprint("[missing]:", svg) eprint("::warning [missing]:", svg)
yield draw, None yield draw, None