( key: string, value: string, quoteValue: (value: string) => string = shellQuote )
| 9 | } |
| 10 | |
| 11 | export function buildShellExport( |
| 12 | key: string, |
| 13 | value: string, |
| 14 | quoteValue: (value: string) => string = shellQuote |
| 15 | ): string { |
| 16 | assertShellEnvName(key); |
| 17 | return `export ${key}=${quoteValue(value)}`; |
| 18 | } |
no test coverage detected