(message: string, os: string)
| 186 | * @param os |
| 187 | */ |
| 188 | export async function stepLog(message: string, os: string): Promise<string> { |
| 189 | switch (os) { |
| 190 | case 'win32': |
| 191 | return 'Step-Log "' + escapeForShell(message, os) + '"'; |
| 192 | case 'linux': |
| 193 | case 'darwin': |
| 194 | return 'step_log "' + escapeForShell(message, os) + '"'; |
| 195 | default: |
| 196 | return await log('Platform ' + os + ' is not supported', os, 'error'); |
| 197 | } |
| 198 | } |
| 199 | |
| 200 | /** |
| 201 | * Function to log a result |
nothing calls this directly
no test coverage detected