From f7c9e0c48ef4ee5fac83bc88bcf87911146bc7e8 Mon Sep 17 00:00:00 2001 From: Jack Casica <76270077+JackCasica@users.noreply.github.com> Date: Mon, 6 May 2024 11:31:35 -0700 Subject: [PATCH] Removed unused variable (#6822) The result of the `setLabels` call is no longer assigned to variable `results` as the variable was unused. --- .../trigger-issue/add-missing-labels-to-issues/check-labels.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/github-actions/trigger-issue/add-missing-labels-to-issues/check-labels.js b/github-actions/trigger-issue/add-missing-labels-to-issues/check-labels.js index cd429f144d..2238bf7c7d 100644 --- a/github-actions/trigger-issue/add-missing-labels-to-issues/check-labels.js +++ b/github-actions/trigger-issue/add-missing-labels-to-issues/check-labels.js @@ -110,7 +110,7 @@ async function addLabels(labelsToAdd, currentLabels) { ])] try { - const results = await github.rest.issues.setLabels({ + await github.rest.issues.setLabels({ owner: owner, repo: repo, issue_number: issueNum,