Ignore hidden files by default (fix regression issue)

This commit is contained in:
Reinhard Pointner 2016-10-05 14:56:33 +08:00
parent c66ef6e668
commit bbc1bef181
1 changed files with 1 additions and 1 deletions

View File

@ -166,7 +166,7 @@ public class ArgumentBean {
if (recursive) {
files.addAll(listFiles(file, FILES, HUMAN_NAME_ORDER));
} else {
files.addAll(getChildren(file, FILES, HUMAN_NAME_ORDER));
files.addAll(getChildren(file, f -> f.isFile() && !f.isHidden(), HUMAN_NAME_ORDER));
}
} else {
files.add(file);