We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d42745d commit 5af6ebeCopy full SHA for 5af6ebe
.github/scripts/report-inactive-collaborators.mjs
@@ -21,7 +21,7 @@ async function parseCollaborators() {
21
const lines = content.split('\n');
22
const collaborators = [];
23
24
- const startIndex = lines.indexOf(CONFIG.CURRENT_MEMBERS_HEADER) + 1;
+ const startIndex = lines.findIndex(l => l.startsWith(CONFIG.CURRENT_MEMBERS_HEADER)) + 1;
25
if (startIndex <= 0) return collaborators;
26
27
for (let i = startIndex; i < lines.length; i++) {
0 commit comments