We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 789c43d commit ba85a5cCopy full SHA for ba85a5c
1 file changed
src/main/scala/org/nlogo/models/package.scala
@@ -47,8 +47,7 @@ package object models {
47
val modelDir = new File(".")
48
val extensions = Array("nlogox", "nlogox3d")
49
listFiles(modelDir, extensions, true).asScala
50
- .filterNot { f => extensions.map(".tmp." + _).exists(f.getName.endsWith) }
51
- .filterNot { f => f.getParentFile.getName.endsWith("benchmarks") }
+ .filterNot { f => extensions.map(".tmp." + _).exists(f.getName.endsWith) || f.toString.contains("test") }
52
.map { f => (f, loader.readModel(f.toURI), Try(readFileToString(f))) }
53
} finally workspace.dispose()
54
}
0 commit comments