(env?: Record<string, string>)
| 26 | } |
| 27 | |
| 28 | export function resolveGhToken(env?: Record<string, string>): string | null { |
| 29 | return env?.GH_TOKEN ?? process.env.GH_TOKEN ?? null; |
| 30 | } |
| 31 | |
| 32 | export function getHostGitconfigPath(): string { |
| 33 | return path.join(os.homedir(), ".gitconfig"); |
no outgoing calls
no test coverage detected