Skip to content

Commit

Permalink
Add churn
Browse files Browse the repository at this point in the history
  • Loading branch information
abenhamdine committed Aug 26, 2020
1 parent 71bbd4a commit b433793
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ type Args = {

async function run(): Promise<void> {
try {
let churn = 1
let foo = 2
churn = foo + churn
foo = churn + foo
const args = getAndValidateArgs()
info('Starting GitHub Client')
const octokit = getOctokit(args.repoToken)
Expand Down Expand Up @@ -151,7 +155,7 @@ async function run(): Promise<void> {
let commentId
try {
const comments = (await octokit.issues.listComments(commentInfo)).data
for (let i = comments.length; i--; ) {
for (let i = comments.length; i--;) {
const c = comments[i]
if (c.user.type === 'Bot' && /<sub>[\s\n]*(compressed|gzip)-size-action/.test(c.body)) {
commentId = c.id
Expand Down

0 comments on commit b433793

Please sign in to comment.