| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent d0d595f commit 1985284
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -49,7 +49,7 @@ const authors = await runGitCommand( | |||
| 49 | 49 | // Get all approving reviewers of landed commits during the time period. | |
| 50 | 50 | const approvingReviewers = await runGitCommand( | |
| 51 | 51 | `git log --since="${SINCE}" | egrep "^ Reviewed-By: "`, | |
| 52 | - (line) => /^ Reviewed-By: ([^<]+)/.exec(line)[1].trim() | ||
| 52 | + (line) => /^ {4}Reviewed-By: ([^<]+)/.exec(line)[1].trim() | ||
| 53 | 53 | ); | |
| 54 | 54 | ||
| 55 | 55 | async function getCollaboratorsFromReadme() { | |
@@ -72,7 +72,7 @@ async function getCollaboratorsFromReadme() { | |||
| 72 | 72 | foundCollaboratorHeading = true; | |
| 73 | 73 | } | |
| 74 | 74 | if (line.startsWith(' **') && isCollaborator) { | |
| 75 | - const [, name, email] = /^ \*\*([^*]+)\*\* <<(.+)>>/.exec(line); | ||
| 75 | + const [, name, email] = /^ {2}\*\*([^*]+)\*\* <<(.+)>>/.exec(line); | ||
| 76 | 76 | const mailmap = await runGitCommand( | |
| 77 | 77 | `git check-mailmap '${name} <${email}>'` | |
| 78 | 78 | ); | |
@@ -136,7 +136,7 @@ async function moveCollaboratorToEmeritus(peopleToMove) { | |||
| 136 | 136 | if (line.startsWith('* ')) { | |
| 137 | 137 | collaboratorFirstLine = line; | |
| 138 | 138 | } else if (line.startsWith(' **')) { | |
| 139 | - const [, name, email] = /^ \*\*([^*]+)\*\* <<(.+)>>/.exec(line); | ||
| 139 | + const [, name, email] = /^ {2}\*\*([^*]+)\*\* <<(.+)>>/.exec(line); | ||
| 140 | 140 | if (peopleToMove.some((entry) => { | |
| 141 | 141 | return entry.name === name && entry.email === email; | |
| 142 | 142 | })) { | |
| Back | FazBrowse Home | New Git URL |
0 commit comments