Fix generation of temporary files
Added a condition to delete finalPath
if it already exists. This ensures that fs::rename
won’t fail due to an existing file at the destination (e.g., on Windows systems).
Added a condition to delete finalPath
if it already exists. This ensures that fs::rename
won’t fail due to an existing file at the destination (e.g., on Windows systems).
Copyright © Eclipse Foundation, Inc. All Rights Reserved. Privacy Policy | Terms of Use | Copyright Agent