replaced any() with contains()

This commit is contained in:
X1nto 2021-02-23 19:34:48 +04:00
parent b32ebe51a0
commit ab3014d5af
1 changed files with 1 additions and 1 deletions

View File

@ -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)
}
}