(key)
| 134 | } |
| 135 | |
| 136 | function envStr(key) { |
| 137 | const v = process.env[key] |
| 138 | if (v === undefined) return undefined |
| 139 | const trimmed = v.trim() |
| 140 | return trimmed.length ? trimmed : undefined |
| 141 | } |
| 142 | |
| 143 | function envBool(key, fallback) { |
| 144 | const v = envStr(key) |
no outgoing calls
no test coverage detected