Fix GitDownloadTask fails on windows

Required for KTI-1553
This commit is contained in:
cristiangarcia
2024-03-12 21:29:52 +01:00
committed by Space Team
parent 8dc460ae4a
commit 8200cf404c
@@ -109,6 +109,6 @@ abstract class GitDownloadTask @Inject constructor(
} }
// Delete the .git directory of the cloned repo to avoid adding it to IDEA's VCS roots. // Delete the .git directory of the cloned repo to avoid adding it to IDEA's VCS roots.
fileOperations.delete(outputDirectory.dir(".git")) outputDirectory.dir(".git").get().asFile.deleteRecursively()
} }
} }