(key: string)
| 109 | } |
| 110 | |
| 111 | export const isSupportedEnvKey = (key: string): boolean => { |
| 112 | return SUPPORTED_ENV_KEYS.has(key) || RR_KEY_REGEX.test(key) |
| 113 | } |
| 114 | |
| 115 | const validateInteger = (key: string, value: string): string | undefined => { |
| 116 | if (!/^-?\d+$/.test(value.trim())) { |
no outgoing calls
no test coverage detected