Skip to content

Commit

Permalink
Fix another error added by auto-format
Browse files Browse the repository at this point in the history
  • Loading branch information
knutwannheden committed Sep 28, 2023
1 parent 5b8b48c commit d39b623
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ fun OptionDescriptor.asYaml(indentation: Int = 0): String {

val prefix = prefixBuilder.toString()
val formattedValue = if (value is Array<*>) {
val asArray = value asArray<*>
val asArray = value as Array<*>
"[${asArray.joinToString(", ")}]"
} else {
value
Expand Down

0 comments on commit d39b623

Please sign in to comment.