Skip to content

Commit

Permalink
⚡️ Use join instead of toString
Browse files Browse the repository at this point in the history
  • Loading branch information
theboi committed Jul 23, 2020
1 parent a5ac544 commit 949b246
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ const octokit = new Octokit({ auth: process.env.GITHUB_TOKEN });
|${value.map(() => ` :-: |`)}
|${value.map((value, col) => ` <a href="https://github.com/${value}"><img src="https://github.com/${recentReposHaveImage[row * REPOS_PER_ROW + col] ? value : `${username}/${repo}`}/raw/master/DISPLAY.jpg" alt="${value}" title="${value}" width="${IMAGE_SIZE}" height="${IMAGE_SIZE}"></a> |`
)}\n\n`
}).toString().replace(/,/g, "")
}).join("")
case "${header}": return core.getInput('header')
case "${subhead}": return core.getInput('subhead')
case "${footer}": return core.getInput('footer')
Expand Down

0 comments on commit 949b246

Please sign in to comment.