Fix just another bug in getFSTEntriesByRegEx

This commit is contained in:
Maschell 2019-04-04 10:23:04 +02:00
parent 671ade1fe0
commit 8d6c6b8691

View File

@ -125,7 +125,7 @@ public class NUSTitle {
.flatMap(e -> {
if (!e.isDir()) {
if (p.matcher(e.getFullPath().replace("/", File.separator)).matches()) {
return Stream.of(entry);
return Stream.of(e);
} else {
return Stream.empty();
}