Skip to content

Commit

Permalink
Add a delete call to preserve move behavior
Browse files Browse the repository at this point in the history
  • Loading branch information
paini committed Oct 16, 2023
1 parent 119255f commit d599933
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ object Install:
(targetFolder.exists, forceDelete) match {
case (false, _) | (true, true) =>
sbtio.copyDirectory(tmpDir / project, targetFolder)
sbtio.delete(tmpDir / project)
if (deleteZipAfterInstall) {
sbtio.delete(zipFile.value)
}
Expand Down

0 comments on commit d599933

Please sign in to comment.