Commit 1b9f606a authored by Lückemeyer's avatar Lückemeyer
Browse files

fixed directory deletion copy/paste

No related merge requests found
Showing with 1 addition and 1 deletion
+1 -1
...@@ -35,7 +35,7 @@ public class JGitUtil { ...@@ -35,7 +35,7 @@ public class JGitUtil {
{ {
//create companion checkout dir "targetPath"+"_checkout" //create companion checkout dir "targetPath"+"_checkout"
checkoutDirectory = new File(targetPath+"_checkout"); checkoutDirectory = new File(targetPath+"_checkout");
if (targetDirectory.exists()) { if (checkoutDirectory.exists()) {
LOG.debug("clone checkout directory existing yet, deleting now"); LOG.debug("clone checkout directory existing yet, deleting now");
FileSystemUtils.deleteRecursively(checkoutDirectory); FileSystemUtils.deleteRecursively(checkoutDirectory);
} }
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment