From d38582e550940dc3f4a5ca8970fc3f93646b30c4 Mon Sep 17 00:00:00 2001 From: taylorfries Date: Fri, 8 Nov 2024 15:53:26 -0800 Subject: [PATCH] removing some console.logs as they are not needed rn --- .github/helpers/github-api/github-api-requests.mjs | 4 ++-- .github/helpers/github-api/update-issue-and-comment.mjs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/helpers/github-api/github-api-requests.mjs b/.github/helpers/github-api/github-api-requests.mjs index 68021dd97..403dd5c0b 100644 --- a/.github/helpers/github-api/github-api-requests.mjs +++ b/.github/helpers/github-api/github-api-requests.mjs @@ -48,7 +48,7 @@ export async function closeIssue(issue_number) { issue_number, state: "closed", }); - console.log("close issue: ", response.data); + //console.log("close issue: ", response.data); return response; } @@ -102,7 +102,7 @@ export async function findIssues(state = "open") { repo: GITHUB_REPO, state, // Get issues that are 'open', 'closed' or 'all'. }); - console.log("found issue: ", response.data); + //console.log("found issue: ", response.data); return response; } diff --git a/.github/helpers/github-api/update-issue-and-comment.mjs b/.github/helpers/github-api/update-issue-and-comment.mjs index da24765b2..f098217f2 100644 --- a/.github/helpers/github-api/update-issue-and-comment.mjs +++ b/.github/helpers/github-api/update-issue-and-comment.mjs @@ -102,7 +102,7 @@ const closeAndCreateIssue = async (issueTitle, issueBody) => { // Create new Issue. const newIssue = await createIssue(issueTitle, decodeURIComponent(issueBody)); - newIssueStatus = checkStatus(newIssue); + const newIssueStatus = checkStatus(newIssue); if (newIssueStatus !== SUCCESS) { // if we didnt make the new issue we have to exit