Minor cleanup

This commit is contained in:
Syer10
2022-04-02 15:23:02 -04:00
parent d444c24257
commit 0068c66258

View File

@@ -15,9 +15,7 @@ fun TaskContainerScope.registerLocalizationTask(project: Project) {
.orEmpty()
val json = JsonObject().apply {
val array = JsonArray().apply {
langs.forEach {
add(it)
}
langs.forEach(::add)
}
add("langs", array)
}