Ignore hidden files by default (fix regression issue)
This commit is contained in:
parent
c66ef6e668
commit
bbc1bef181
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue