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

FIX InsertFilesInDir

parent 0708150f
No related branches found
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 {
.addMessage(
new Message(
MessageType.Warning,
MessageCode.MESSAGE_CODE_UNKNOWN,
MessageCode.MESSAGE_CODE_ENTITY_DOES_NOT_EXIST,
"Explicitly excluded file: " + sub.getCanonicalPath()));
return false;
}
......@@ -335,12 +335,11 @@ public class InsertFilesInDir extends FlagJob {
return false;
}
if (FileUtils.isSymlink(sub)) {
getContainer()
.addMessage(
new Message(
MessageType.Warning,
MessageCode.MESSAGE_CODE_UNKNOWN,
"Directory or file is symbolic link: " + sub.getAbsolutePath()));
getContainer().addMessage(SYMBOLIC_LINK_WARNING);
new Message(
MessageType.Warning,
MessageCode.MESSAGE_CODE_ENTITY_HAS_UNQUALIFIED_PARENTS,
"Directory or file is symbolic link: " + sub.getAbsolutePath());
if (!this.forceSymLinks) {
return false;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment