telerik / mobile-cli-lib

Contains common infrastructure for CLIs - mainly AppBuilder, NativeScript, DDB and Proton.
Apache License 2.0
11 stars 10 forks source link

Replace rename with write+delete #1035

Closed Mitko-Kerezov closed 6 years ago

Mitko-Kerezov commented 6 years ago

On some systems with slower hard drives and rigorous antivirus software, on numerous occasions the newly created files in platforms directory are locked and cannot be renamed. The rename fails with EPERM. Switching to write+delete in favor of rename eliminates said issue.

ping @rosen-vladimirov @KristianDD