mirror of
https://github.com/wentasah/ros2nix.git
synced 2025-06-09 07:42:23 +03:00
Create directories for git cache if needed
This commit is contained in:
parent
a6c2ff98fb
commit
81c4e3656b
1 changed files with 1 additions and 0 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue