Skip to content

Commit 72d8de4

Browse files
author
Kartik Raj
committed
oops
1 parent b9ad930 commit 72d8de4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/issue-labels.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ jobs:
6161
.then((result) => result.data.assignees.map((a) => a.login));
6262
console.log(JSON.stringify(currentAssignees));
6363
console.log(JSON.stringify(knownTriagers));
64-
const assigneesToRemove = currentAssignees.map(a => !knownTriagers.includes(a));
64+
const assigneesToRemove = currentAssignees.filter(a => !knownTriagers.includes(a));
6565
console.log(JSON.stringify(assigneesToRemove));
6666
github.rest.issues.removeAssignees({
6767
owner: context.repo.owner,

0 commit comments

Comments
 (0)