generate_descriptor_pages.main.kts: Remove redundant line

This commit is contained in:
Karol Lewandowski 2024-11-19 12:18:22 +01:00 committed by Karol Lewandowski
parent c2f48c4c2e
commit ae89022eea

View File

@ -179,9 +179,9 @@ fun StringBuilder.appendSectionHeader(
attributes.appendLine("}")
appendLine(attributes.toString())
if (addDeprecationLabel && element.deprecatedSince != null) {
appendLine("\n<primary-label ref=\"Deprecated\"/>\n")
appendLine("<primary-label ref=\"Deprecated\"/>\n")
} else if (element.since != null) {
appendLine("\n<primary-label ref=\"${element.since}\"/>\n")
appendLine("<primary-label ref=\"${element.since}\"/>\n")
}
}