mirror of
https://github.com/Eugeny/tabby.git
synced 2024-11-29 09:18:26 +03:00
Update ssh.service.ts
This commit is contained in:
parent
5bde116a4e
commit
5185e1fe1d
@ -197,7 +197,7 @@ export class SSHService {
|
||||
if (await fs.exists(WINDOWS_OPENSSH_AGENT_PIPE)) {
|
||||
agent = WINDOWS_OPENSSH_AGENT_PIPE
|
||||
} else {
|
||||
const pageantRunning = new Promise<boolean>(resolve => {
|
||||
const pageantRunning = await new Promise<boolean>(resolve => {
|
||||
windowsProcessTreeNative.getProcessList(list => { // eslint-disable-line block-scoped-var
|
||||
resolve(list.some(x => x.name === 'pageant.exe'))
|
||||
}, 0)
|
||||
|
Loading…
Reference in New Issue
Block a user