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

fixed directory deletion copy/paste

parent 3a86dd86
Pipeline #9079 passed with stage
...@@ -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);
} }
......
Markdown is supported
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