more code style

master
James Glenn 4 years ago
parent 0f308fa784
commit e14c3ce8cf

@ -9,9 +9,7 @@ function getContributors(page) {
const contributorList = [];
data.forEach((contributor, idx) => {
contributorList.push(
`<a href="${contributor.html_url}">${contributor.login}</a>`
);
contributorList.push(`<a href="${contributor.html_url}">${contributor.login}</a>`);
if (idx < data.length - 1) {
contributorList.push(', ');
}

Loading…
Cancel
Save