(env = process.env)
| 8 | const REUSABLE_PROXY_TOKEN_RE = /^[a-f0-9]{64}$/i; |
| 9 | |
| 10 | function getHomeDir(env = process.env) { |
| 11 | const home = String(env.HOME || os.homedir() || '').trim(); |
| 12 | return home || null; |
| 13 | } |
| 14 | |
| 15 | function normalizeSettingsPath(value, home) { |
| 16 | const raw = String(value || '').trim(); |
no outgoing calls
no test coverage detected