Skip to content
This repository has been archived by the owner on Mar 15, 2022. It is now read-only.

Commit

Permalink
replaced any() with contains()
Browse files Browse the repository at this point in the history
  • Loading branch information
X1nto committed Feb 23, 2021
1 parent b32ebe5 commit ab3014d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
}
Expand Down

0 comments on commit ab3014d

Please sign in to comment.