Skip to content

Commit

Permalink
chore: add todo about future improvement
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Perrotte committed Nov 7, 2019
1 parent 4cbfb3b commit 5b7643a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/comment.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ module.exports = async function comment () {
issue_number: PR_ID
})
const comments = await octokit.paginate(options)
// TODO: should probably move `npm-deploy-user` into an environment variable
const updateComment = comments.find((c) => c.user.login === 'npm-deploy-user')

if (updateComment) {
Expand Down

0 comments on commit 5b7643a

Please sign in to comment.