mirror of
https://github.com/Eugeny/tabby
synced 2024-11-15 09:27:24 +00:00
Update ssh.service.ts
This commit is contained in:
parent
5bde116a4e
commit
5185e1fe1d
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue