Updated file sorting

This commit is contained in:
Olga Shalganova 2025-08-08 18:25:35 +02:00 committed by GitHub
parent 0a22c5ad57
commit da9f89849f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -13,7 +13,7 @@ object CompilationState {
fun main() {
val root = File("lib/domains")
root.walkTopDown().forEach {
root.walkTopDown().toList().forEach {
if (it.isFile) {
val parts = it.toRelativeString(root).replace('\\', '/').removeSuffix(".txt").split('/').toList()
if (!checkSet(CompilationState.stoplist, parts) && !checkSet(CompilationState.domains, parts)) {