Skip to content

Commit 81690b4

Browse files
committed
Fix when running consequtive builds locally
1 parent bfbfbf1 commit 81690b4

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

build.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,8 @@
117117
src = os.path.join(format_path, plugin_filename);
118118
dst = os.path.join(target_dir, plugin_filename);
119119
if os.path.isdir(src):
120+
shutil.rmtree(dst)
120121
shutil.copytree(src, dst)
121122
else:
123+
os.remove(dst)
122124
shutil.copy2(src, dst)

0 commit comments

Comments
 (0)