From bb65bcc17d7e3a5f34852a5a69913d4a2db3697f Mon Sep 17 00:00:00 2001 From: Frazer Smith Date: Thu, 11 Feb 2021 17:36:56 +0000 Subject: [PATCH] style(index): keep consistent with rest of file --- src/index.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/index.js b/src/index.js index 6f66fa36..a72d5cbb 100644 --- a/src/index.js +++ b/src/index.js @@ -42,14 +42,13 @@ async function run () { merge_method: MERGE_METHOD }) - if (MERGE_COMMENT) { await octokit.issues.createComment({ owner, repo, issue_number: prNumber, - body: MERGE_COMMENT, - }); + body: MERGE_COMMENT + }) } } catch (error) { core.setFailed(error.message)