Commit f588b1f7 authored by Maxime Lefrançois's avatar Maxime Lefrançois

Clause 9.5 thinks csv always missing

parent 8a4489c2
......@@ -95,7 +95,7 @@ public class Clause_9_5_Checker extends AbstractClauseChecker {
logError(getMessage(MESSAGE.csv, nonCsv));
}
boolean containsFile = Files.walk(path, 1).filter(p -> p.toFile().isDirectory()).anyMatch(p -> {
boolean containsFile = Files.walk(path, 1).anyMatch(p -> {
return csvMatcher.matches(p);
});
if (!containsFile) {
......
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