()
| 4 | const CONFIG_DIR_NAME = '.mmx'; |
| 5 | |
| 6 | export function getConfigDir(): string { |
| 7 | if (process.env.MMX_CONFIG_DIR) return process.env.MMX_CONFIG_DIR; |
| 8 | return join(homedir(), CONFIG_DIR_NAME); |
| 9 | } |
| 10 | |
| 11 | export function getConfigPath(): string { |
| 12 | return join(getConfigDir(), 'config.json'); |
no outgoing calls
no test coverage detected