浏览代码

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

zhoulc 3 年之前
父节点
当前提交
50b6a4cb5e
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      yudao-server/src/test/java/cn/iocoder/yudao/ProjectReactor.java

+ 2 - 1
yudao-server/src/test/java/cn/iocoder/yudao/ProjectReactor.java

@@ -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;
     }
     }