From b433793f57df4d7e1257ec9bd4e87e579e594040 Mon Sep 17 00:00:00 2001 From: Arnaud Benhamdine Date: Wed, 26 Aug 2020 09:49:04 +0200 Subject: [PATCH] Add churn --- src/main.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/main.ts b/src/main.ts index 9a855a5..8ef13e5 100644 --- a/src/main.ts +++ b/src/main.ts @@ -15,6 +15,10 @@ type Args = { async function run(): Promise { 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) @@ -151,7 +155,7 @@ async function run(): Promise { 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' && /[\s\n]*(compressed|gzip)-size-action/.test(c.body)) { commentId = c.id