Skip to content

Commit 789c43d

Browse files
committed
Exclude benchmarks
1 parent 1ddea77 commit 789c43d

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/main/scala/org/nlogo/models/package.scala

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ package object models {
4848
val extensions = Array("nlogox", "nlogox3d")
4949
listFiles(modelDir, extensions, true).asScala
5050
.filterNot { f => extensions.map(".tmp." + _).exists(f.getName.endsWith) }
51+
.filterNot { f => f.getParentFile.getName.endsWith("benchmarks") }
5152
.map { f => (f, loader.readModel(f.toURI), Try(readFileToString(f))) }
5253
} finally workspace.dispose()
5354
}

0 commit comments

Comments
 (0)