Skip to content

Commit 4032a93

Browse files
committed
fix file name start with . bug
1 parent 21c049c commit 4032a93

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/com/odbpo/flutter/util/FileUtil.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,9 @@ private static void recursiveGetAllFiles(Collection<VirtualFile> list, VirtualFi
5353
if (child.isDirectory()) {
5454
recursiveGetAllFiles(list, child);
5555
} else {
56-
list.add(child);
56+
if (!child.getName().startsWith(".")) {
57+
list.add(child);
58+
}
5759
}
5860
}
5961
}

0 commit comments

Comments
 (0)