(error?: any)
| 308 | }; |
| 309 | |
| 310 | const failed = (error?: any) => { |
| 311 | clean(); |
| 312 | const errorMessage: string = localize('ssh.process.failed', '"{0}" process failed: {1}', nickname, error); |
| 313 | getSshChannel().appendLine(errorMessage); |
| 314 | void vscode.window.showErrorMessage(errorMessage); |
| 315 | result.reject(error); |
| 316 | }; |
| 317 | |
| 318 | const handleOutputLogging = (data: string): void => { |
| 319 | let nextPauseState: boolean | undefined; |
no test coverage detected