Skip to content

Commit f1293f6

Browse files
committed
Overwrite existing files
1 parent b42f716 commit f1293f6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

maintain.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,8 +105,8 @@ def release(version, maxim_path):
105105
shutil.copytree(i, out_dir, dirs_exist_ok=True)
106106

107107
print("Copying Inect & New_Project folders")
108-
shutil.copytree(Path("MaximSDK/Inject"), r_dir.joinpath("Inject"))
109-
shutil.copytree(Path("MaximSDK/New_Project"), r_dir.joinpath("New_Project"))
108+
shutil.copytree(Path("MaximSDK/Inject"), r_dir.joinpath("Inject"), dirs_exist_ok=True)
109+
shutil.copytree(Path("MaximSDK/New_Project"), r_dir.joinpath("New_Project"), dirs_exist_ok=True)
110110

111111
print("Copying markdown files")
112112
shutil.copy("readme.md", r_dir)

0 commit comments

Comments
 (0)