Skip to content

Commit 72d06d2

Browse files
Incorporate review comments
1 parent 5215fdb commit 72d06d2

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

assets/javascripts/swift-evolution.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -392,12 +392,11 @@ function renderReviewManagers(reviewManagers) {
392392

393393
/** Create nodes for arrays of authors and review managers. */
394394
function personNodesForPersonArray(personArray) {
395-
let personNodes = personArray.map(function (person) {
395+
const personNodes = personArray.map(function (person) {
396396
if (person.link.length > 0) {
397397
return html('a', { href: person.link, target: '_blank' }, person.name)
398-
} else {
399-
return document.createTextNode(person.name)
400398
}
399+
return document.createTextNode(person.name)
401400
})
402401

403402
return _joinNodes(personNodes, ', ')

0 commit comments

Comments
 (0)