We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 81690b4 commit aee16e6Copy full SHA for aee16e6
1 file changed
build.py
@@ -117,8 +117,10 @@
117
src = os.path.join(format_path, plugin_filename);
118
dst = os.path.join(target_dir, plugin_filename);
119
if os.path.isdir(src):
120
- shutil.rmtree(dst)
+ if os.path.exists(dst):
121
+ shutil.rmtree(dst)
122
shutil.copytree(src, dst)
123
else:
- os.remove(dst)
124
125
+ os.remove(dst)
126
shutil.copy2(src, dst)
0 commit comments