()
| 597 | } |
| 598 | |
| 599 | function 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 | } |
no outgoing calls
no test coverage detected