Skip to content

Commit babb4d4

Browse files
committed
fixup!
1 parent 5af6ebe commit babb4d4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/scripts/report-inactive-collaborators.mjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@ async function parseCollaborators() {
2121
const lines = content.split('\n');
2222
const collaborators = [];
2323

24-
const startIndex = lines.findIndex(l => l.startsWith(CONFIG.CURRENT_MEMBERS_HEADER)) + 1;
24+
const startIndex =
25+
lines.findIndex(l => l.startsWith(CONFIG.CURRENT_MEMBERS_HEADER)) + 1;
2526
if (startIndex <= 0) return collaborators;
2627

2728
for (let i = startIndex; i < lines.length; i++) {
@@ -105,7 +106,6 @@ async function createOrUpdateIssue(github, context, report) {
105106
}
106107

107108
export default async function (github, context) {
108-
const repo = `${context.repo.owner}/${context.repo.repo}`;
109109
const cutoffDate = getDateMonthsAgo();
110110
const collaborators = await parseCollaborators();
111111

0 commit comments

Comments
 (0)