Skip to content

Commit

Permalink
Ensure output_dir always exists
Browse files Browse the repository at this point in the history
  • Loading branch information
jaimergp committed Nov 8, 2024
1 parent ee89d73 commit 088e34b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions constructor/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,7 @@ def main_build(dir_path, output_dir='.', platform=cc_platform,
# '_dists': List[Dist]
# '_urls': List[Tuple[url, md5]]

os.makedirs(output_dir, exist_ok=True)
info_dicts = []
for itype in itypes:
if itype == 'sh':
Expand Down

0 comments on commit 088e34b

Please sign in to comment.