(err: Error)
| 213 | } |
| 214 | |
| 215 | const onError = (err: Error) => { |
| 216 | client.removeListener('ready', onReady); |
| 217 | client.destroy(); |
| 218 | reject(new Error(`SSH connection error${label ? ` (${label})` : ''}: ${err.message}`)); |
| 219 | }; |
| 220 | |
| 221 | const onReady = () => { |
| 222 | client.removeListener('error', onError); |
nothing calls this directly
no outgoing calls
no test coverage detected