(value: string)
| 1182 | } |
| 1183 | |
| 1184 | function toPowerShellString(value: string): string { |
| 1185 | return `'${String(value ?? '').replace(/'/gu, "''")}'`; |
| 1186 | } |
| 1187 | |
| 1188 | function resolveHomeDir(env: NodeJS.ProcessEnv, platform: NodeJS.Platform): string { |
| 1189 | const requested = normalizeString(platform === 'win32' ? (env.USERPROFILE || env.HOME) : (env.HOME || env.USERPROFILE)); |
no outgoing calls
no test coverage detected