更改 文件过滤方法,适应windows

This commit is contained in:
zhoulc 2022-03-30 16:22:57 +08:00
parent f651b86d53
commit 50b6a4cb5e

View File

@ -64,7 +64,8 @@ public class ProjectReactor {
&& !file.getPath().contains("\\.idea\\") && !file.getPath().contains("\\.idea\\")
&& !file.getPath().contains("\\.git\\") && !file.getPath().contains("\\.git\\")
&& !file.getPath().contains("\\.github\\") && !file.getPath().contains("\\.github\\")
&& !file.getPath().contains("\\dist\\")) && !file.getPath().contains("\\dist\\")
&& !file.getPath().contains(".iml"))
.collect(Collectors.toList()); .collect(Collectors.toList());
return files; return files;
} }