We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bb1ac36 commit f9a3d39Copy full SHA for f9a3d39
1 file changed
services/apps/merge_suggestions_worker/src/utils.ts
@@ -1,8 +1,12 @@
1
-import { isNoreplyEmail } from '@crowd/common'
2
import { ILLMConsumableMember, PlatformType } from '@crowd/types'
3
4
import { EMAIL_AS_USERNAME_PLATFORMS } from './enums'
5
+function isNoreplyEmail(value: string): boolean {
6
+ const lower = value.toLowerCase()
7
+ return lower.endsWith('@users.noreply.github.com') || lower.endsWith('@users.noreply.gitlab.com')
8
+}
9
+
10
export const prefixLength = (string: string) => {
11
if (string.length > 5 && string.length < 8) {
12
return 6
0 commit comments