This commit is contained in:
Eugene Pankov 2017-11-28 20:30:06 +01:00
parent fa4c59e3c0
commit 892b18df4d

View File

@ -91,7 +91,9 @@ export class SSHService {
await new Promise((resolve, reject) => {
ssh.on('ready', () => {
connected = true
if (savedPassword) {
this.savePassword(connection, savedPassword)
}
this.zone.run(resolve)
})
ssh.on('error', error => {