MCPcopy Create free account
hub / github.com/decaporg/decap-cms / getEmailLocalPart

Function getEmailLocalPart

packages/decap-cms-lib-turbo/src/commitAuthor.ts:19–21  ·  view source on GitHub ↗
(email: string)

Source from the content-addressed store, hash-verified

17};
18
19function getEmailLocalPart(email: string) {
20 return email.split('@')[0] || email;
21}
22
23export function resolveCommitAuthorFromSupabaseUser(
24 user: CommitAuthorInput,

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected