Create directories for git cache if needed

This commit is contained in:
Michal Sojka 2025-04-18 12:26:57 +02:00
parent a6c2ff98fb
commit 81c4e3656b

View file

@ -598,6 +598,7 @@ def ros2nix(args):
# TODO generate also release.nix (for testing/CI)?
if not args.no_cache:
os.makedirs(os.path.dirname(cache_file), exist_ok=True)
with open(cache_file, "w") as f:
json.dump(git_cache, f)