Skip to content

Commit

Permalink
fix: fixed TypeError of undefined (carbon-design-system#15313)
Browse files Browse the repository at this point in the history
  • Loading branch information
guidari authored Dec 4, 2023
1 parent 288285d commit 4d3e2b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion actions/issues/src/plugins/add-triage-label.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ const plugin = {
});

if (!hasTriageLabel) {
await octokit.issues.addLabels({
await octokit.issues?.addLabels({
owner: repository.owner.login,
repo: repository.name,
issue_number: issue.number,
Expand Down

0 comments on commit 4d3e2b5

Please sign in to comment.