From 14cf6f048a5e4cb8d648244437ac75b30be6ecaa Mon Sep 17 00:00:00 2001 From: DeWildeDaan Date: Fri, 30 Aug 2024 13:01:34 +0200 Subject: [PATCH] feat: adding logs --- index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.js b/index.js index a7e4192..dbdf827 100644 --- a/index.js +++ b/index.js @@ -145,9 +145,9 @@ const minimizePreviousComment = (commentId) => { } }; -const findAndMinimizePreviousComment = async () => { +const findAndMinimizePreviousComment = () => { try { - const comments = await octokit.rest.issues.getComment({ + const comments = octokit.rest.issues.getComment({ owner: context.repo.owner, repo: context.repo.repo, issue_number: context.issue.number,