MCPcopy Index your code
hub / github.com/cameri/nostream / isSupportedEnvKey

Function isSupportedEnvKey

src/cli/utils/env-config.ts:111–113  ·  view source on GitHub ↗
(key: string)

Source from the content-addressed store, hash-verified

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

Callers 4

commands.spec.tsFile · 0.90
runConfigEnvGetFunction · 0.90
runConfigEnvSetFunction · 0.90
validateEnvPairFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected