(bytes: Buffer | Uint8Array | string)
| 94 | } |
| 95 | |
| 96 | function sha256(bytes: Buffer | Uint8Array | string): string { |
| 97 | return createHash('sha256').update(bytes).digest('hex'); |
| 98 | } |
| 99 | |
| 100 | function optionalEnvValue(env: NodeJS.ProcessEnv, key: string): string | null { |
| 101 | const value = env[key]; |
no test coverage detected