(name: string)
| 536 | * @returns {string | undefined} |
| 537 | */ |
| 538 | export const getEnvironmentVariable = (name: string): string | undefined => { |
| 539 | try { |
| 540 | return typeof process !== 'undefined' ? process.env?.[name] : undefined |
| 541 | } catch (e) { |
| 542 | return undefined |
| 543 | } |
| 544 | } |
| 545 | |
| 546 | /** |
| 547 | * Returns the path of encryption key |
no outgoing calls
no test coverage detected