fix: think the type def is wrong
Node.js CI / Lint and Test (push) Failing after 33s

This commit is contained in:
2025-08-22 13:54:46 -07:00
parent e4386410fc
commit 74605cc219
+1 -1
View File
@@ -37,7 +37,7 @@ export const processMessage = async(message: Message): Promise<void> => {
const responses = matches.map((match) => {
return `- You used the word \`${match.actual ?? "unknown word"}\`. This may not be inclusive language, because: ${match.reason.length > 0
? match.reason
: "I said so."}${match.note === null || match.note === "" || match.note === "undefined"
: "I said so."}${[ null, "", undefined, "undefined", "null" ].includes(match.note)
? ""
: ` -- ${match.note}`}`;
});