Skip to content

Commit 452d392

Browse files
committed
Remove some duplicate comments
1 parent 9d78e49 commit 452d392

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

scripts/create-new-release-notes.main.kts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ fun createItemString(
107107
appendLine()
108108
}
109109

110-
// See https://github.com/jhy/jsoup/issues/1055 and 1441
110+
// See https://github.com/jhy/jsoup/issues/1055
111111
fun Document.extractName(id: String) = this
112112
.select("[id=$id]")
113113
.prev("h2")
@@ -117,13 +117,11 @@ fun Document.extractName(id: String) = this
117117
.ifBlank { select("h1").text() }
118118
.trim()
119119

120-
// See https://github.com/jhy/jsoup/issues/1055 and 1441
121120
fun Document.extractVersion(id: String) = this
122121
.select("[id=$id]")
123122
.attr("data-text")
124123
.replace(Regex(".*Version "), "v")
125124

126-
// See https://github.com/jhy/jsoup/issues/1055 and 1441
127125
fun Document.extractChangelog(id: String) = this
128126
.select("[id=$id] ~ *")
129127
.takeWhile { it.`is`(":not(h2)") }

0 commit comments

Comments
 (0)