style: replace unicorn/no-for-loop w/ typescript/prefer-for-of (#20798)
* style: replace unicorn/no-for-loop w/ typescript/prefer-for-of * style: fix typescript-eslint/prefer-for-of * style: fix typescript/no-inferrable-types * style: fix typescript-eslint/consistent-generic-constructors * style: typescript-eslint/consistent-type-assertions * style: fix typescript-eslint/array-type * fix: revert .entries() in d96ca62d3d80806b0475a54e749decfc07b24701
This commit is contained in:
@@ -125,7 +125,7 @@ export default async function callMaintainer({ github, context, core }) {
|
||||
if (main.length > 0) {
|
||||
const pingStr = main
|
||||
.map((e) => {
|
||||
if (e in dndUsernames) {
|
||||
if (dndUsernames.has(e)) {
|
||||
return `\`@${e}\``; // Wrap in an inline code block to make sure no mention will be sent
|
||||
}
|
||||
return `@${e}`;
|
||||
|
||||
Reference in New Issue
Block a user