lint & enabled linter on Azure pipelines

This commit is contained in:
Eugene Pankov
2019-07-24 11:24:57 +02:00
parent b6aa1f764b
commit dc9508f80d
13 changed files with 34 additions and 31 deletions

View File

@@ -138,7 +138,7 @@ export class SSHService {
let agent: string = null
if (this.hostApp.platform === Platform.Windows) {
const pageantRunning = new Promise<boolean>(resolve => {
windowsProcessTreeNative.getProcessList(list => {
windowsProcessTreeNative.getProcessList(list => { // eslint-disable-line block-scoped-var
resolve(list.some(x => x.name === 'pageant.exe'))
}, 0)
})