mirror of
https://github.com/mamoe/mirai.git
synced 2025-02-05 12:45:00 +08:00
Fix build
This commit is contained in:
parent
854b55f216
commit
2780fc4761
@ -17,6 +17,7 @@ import java.lang.management.ManagementFactory
|
||||
import java.nio.file.Files
|
||||
import java.nio.file.Paths
|
||||
import java.util.*
|
||||
import java.util.stream.Collectors
|
||||
import kotlin.io.path.inputStream
|
||||
import kotlin.io.path.isDirectory
|
||||
import kotlin.io.path.name
|
||||
@ -76,6 +77,6 @@ class MiraiConsoleIntegrationTestBootstrap {
|
||||
}
|
||||
.map { it.replace('/', '.') }
|
||||
.filter { AbstractTestPoint::class.java.isAssignableFrom(Class.forName(it)) }
|
||||
.use { it.toList() }
|
||||
.use { it.collect(Collectors.toList()) }
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user