Skip to content

Commit

Permalink
fix: Floating promise
Browse files Browse the repository at this point in the history
  • Loading branch information
fuzzypixelz committed Jan 26, 2024
1 parent 4ba7086 commit 063f8a8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/update-release-project.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,14 +52,15 @@ jobs:
with:
result-encoding: string
script: |
const contributors = github.rest.repos.listContributors({
const contributors = await github.rest.repos.listContributors({
owner: context.repo.owner,
repo: context.repo.repo,
});
const login = "${{ github.event.issue.user.login }}";
const result = contributors
.data
.map(c => c.login)
.includes(login);
Expand Down

0 comments on commit 063f8a8

Please sign in to comment.