( flagValue: string | undefined, env: NodeJS.ProcessEnv = process.env, )
| 19 | } |
| 20 | |
| 21 | export function resolveAndroidSerialAllowlist( |
| 22 | flagValue: string | undefined, |
| 23 | env: NodeJS.ProcessEnv = process.env, |
| 24 | ): ReadonlySet<string> | undefined { |
| 25 | const configured = |
| 26 | normalizeNonEmpty(flagValue) ?? normalizeNonEmpty(env.AGENT_DEVICE_ANDROID_DEVICE_ALLOWLIST); |
| 27 | if (!configured) return undefined; |
| 28 | return parseSerialAllowlist(configured); |
| 29 | } |
no test coverage detected