You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Sources/App/Views/PackageController/MaintainerInfo/MaintainerInfoIndex+View.swift
+4-3Lines changed: 4 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -70,7 +70,8 @@ enum MaintainerInfoIndex {
70
70
}
71
71
72
72
overridefunc content()->Node<HTML.BodyContext>{
73
-
.div(
73
+
letscoreCategories= model.scoreCategories()
74
+
return.div(
74
75
.h2("Information for \(model.packageName) Maintainers"),
75
76
.p(
76
77
.text("Are you the author, or a maintainer of "),
@@ -188,15 +189,15 @@ enum MaintainerInfoIndex {
188
189
"This package has a total score of \(model.score) points. The Swift Package Index uses package score in combination with the relevancy of a search query to influence the ordering of search results."
189
190
),
190
191
.p(
191
-
"The score is currently evaluated based on \(model.scoreCategories.count) traits, and the breakdown of each trait is shown below."
192
+
"The score is currently evaluated based on \(scoreCategories.count) traits, and the breakdown of each trait is shown below."
0 commit comments