()
| 15 | export const CREDENTIAL_FILENAME = "credentials"; |
| 16 | |
| 17 | export function configDir(): string { |
| 18 | const override = process.env["HEYGEN_CONFIG_DIR"]; |
| 19 | if (override && override.length > 0) return override; |
| 20 | return join(homedir(), ".heygen"); |
| 21 | } |
| 22 | |
| 23 | export function credentialPath(): string { |
| 24 | return join(configDir(), CREDENTIAL_FILENAME); |
no outgoing calls
no test coverage detected