Skip to content

Commit

Permalink
Adapts return logic to implement the newly added method
Browse files Browse the repository at this point in the history
Fixes: SIRI-1028
  • Loading branch information
scireum-mbo committed Dec 10, 2024
1 parent c77f07a commit 9fd3c8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/sirius/kernel/commons/Files.java
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ public static boolean isConsideredMetadata(@Nullable String path) {
if (Strings.isEmpty(path)) {
return false;
}
return METADATA_FILES.stream().anyMatch(path::contains);
return streamPath(path).anyMatch(METADATA_FILES::contains);
}

/**
Expand Down

0 comments on commit 9fd3c8b

Please sign in to comment.