Skip to content

Commit 98fc8b1

Browse files
committed
satisfy a codeql scanning thingie even though its dumb
1 parent 7755a05 commit 98fc8b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/generate-github-release.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ function getContributors(previousVersion) {
9999
const contributors = new Map();
100100
for (const line of log.split("\n").filter(Boolean)) {
101101
const [name, email] = line.split("|");
102-
if (!name || email?.includes("noreply.github.com")) {
102+
if (!name || email?.endsWith("noreply.github.com")) {
103103
// Try to extract username from noreply email
104104
const match = email?.match(/(\d+\+)?(.+)@users\.noreply\.github\.com/);
105105
if (match) {

0 commit comments

Comments
 (0)