Skip to content
Snippets Groups Projects
Verified Commit 18052676 authored by Timm Fitschen's avatar Timm Fitschen
Browse files

FIX InsertFilesInDir

parent 0708150f
Branches main
No related tags found
3 merge requests!44Release 0.6,!43Merge f-GRPC-main to dev,!42DEPS: Update proto and fix breaking changes
Pipeline #15881 failed
...@@ -302,7 +302,7 @@ public class InsertFilesInDir extends FlagJob { ...@@ -302,7 +302,7 @@ public class InsertFilesInDir extends FlagJob {
.addMessage( .addMessage(
new Message( new Message(
MessageType.Warning, MessageType.Warning,
MessageCode.MESSAGE_CODE_UNKNOWN, MessageCode.MESSAGE_CODE_ENTITY_DOES_NOT_EXIST,
"Explicitly excluded file: " + sub.getCanonicalPath())); "Explicitly excluded file: " + sub.getCanonicalPath()));
return false; return false;
} }
...@@ -335,12 +335,11 @@ public class InsertFilesInDir extends FlagJob { ...@@ -335,12 +335,11 @@ public class InsertFilesInDir extends FlagJob {
return false; return false;
} }
if (FileUtils.isSymlink(sub)) { if (FileUtils.isSymlink(sub)) {
getContainer() getContainer().addMessage(SYMBOLIC_LINK_WARNING);
.addMessage( new Message(
new Message( MessageType.Warning,
MessageType.Warning, MessageCode.MESSAGE_CODE_ENTITY_HAS_UNQUALIFIED_PARENTS,
MessageCode.MESSAGE_CODE_UNKNOWN, "Directory or file is symbolic link: " + sub.getAbsolutePath());
"Directory or file is symbolic link: " + sub.getAbsolutePath()));
if (!this.forceSymLinks) { if (!this.forceSymLinks) {
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