replaced any() with contains()
This commit is contained in:
parent
b32ebe51a0
commit
ab3014d5af
|
@ -79,7 +79,7 @@ val languages: String get() {
|
|||
name.startsWith("values-") && !name.contains("v23")
|
||||
}?.forEach { dir ->
|
||||
val dirname = dir.name.substringAfter("-").substringBefore("-")
|
||||
if (!exceptions.any { dirname == it }) {
|
||||
if (!exceptions.contains(dirname)) {
|
||||
langs.add(dirname)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue