(platform: NodeJS.Platform, configFile: URI | undefined, containerEnv: NodeJS.ProcessEnv, value: T)
| 39 | } |
| 40 | |
| 41 | export function containerSubstitute<T extends object>(platform: NodeJS.Platform, configFile: URI | undefined, containerEnv: NodeJS.ProcessEnv, value: T): T { |
| 42 | const isWindows = platform === 'win32'; |
| 43 | return substitute0(replaceContainerEnv.bind(undefined, isWindows, configFile, normalizeEnv(isWindows, containerEnv)), value); |
| 44 | } |
| 45 | |
| 46 | type Replace = (match: string, variable: string, args: string[]) => string; |
| 47 |
no test coverage detected