Skip to content
Snippets Groups Projects
Commit e3f182df authored by Georg Seibt's avatar Georg Seibt :nerd:
Browse files

additional warning in isGitDir(...)

parent af7fb473
Branches
Tags
No related merge requests found
...@@ -184,6 +184,7 @@ public class GitWrapper extends ToolWrapper { ...@@ -184,6 +184,7 @@ public class GitWrapper extends ToolWrapper {
public boolean isGitDir(File directory) { public boolean isGitDir(File directory) {
if (!directory.isDirectory()) { if (!directory.isDirectory()) {
LOG.warning(() -> String.format("The file '%s' does not exist or is not a directory.", directory));
return false; return false;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment