diff --git a/.github/workflows/supersetbot.yml b/.github/workflows/supersetbot.yml index cddacac2a3dc2..2d9038565d238 100644 --- a/.github/workflows/supersetbot.yml +++ b/.github/workflows/supersetbot.yml @@ -50,9 +50,7 @@ jobs: repo: context.repo.repo, issue_number: issueNumber, labels: [label], - }).catch(error => { - console.log(error); - }); + }).catch(console.log); } else if (command === 'unlabel') { const label = args[0]; await github.rest.issues.removeLabel({