MCPcopy Create free account
hub / github.com/cursor/plugins / readGitUserEmail

Function readGitUserEmail

orchestrate/skills/orchestrate/scripts/cli/task.ts:599–610  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

597}
598
599function readGitUserEmail(): string | undefined {
600 try {
601 const email = execFileSync("git", ["config", "--get", "user.email"], {
602 stdio: ["ignore", "pipe", "pipe"],
603 })
604 .toString()
605 .trim();
606 return email.length > 0 ? email : undefined;
607 } catch {
608 return undefined;
609 }
610}

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected