mirror of
https://github.com/element-hq/element-desktop
synced 2025-03-15 00:47:47 +01:00
Fixed linter
This commit is contained in:
parent
2a56e870da
commit
52b5600df7
@ -1002,7 +1002,7 @@ app.on('select-client-certificate', (event, webContents, url, list, callback) =>
|
||||
break;
|
||||
}
|
||||
}
|
||||
if(found === false) {
|
||||
if (found === false) {
|
||||
console.log('No certificate found');
|
||||
}
|
||||
} else if (clientCertPickFirst === true && list.length > 0) {
|
||||
@ -1012,13 +1012,13 @@ app.on('select-client-certificate', (event, webContents, url, list, callback) =>
|
||||
} else {
|
||||
console.log('No client certificate available');
|
||||
}
|
||||
})
|
||||
});
|
||||
|
||||
app.on('certificate-error', (event, webContents, url, error, certificate, callback) => {
|
||||
// Ensure we don't trust certificate causing a verification error
|
||||
console.log('Untrusted server certificate');
|
||||
callback(false);
|
||||
})
|
||||
});
|
||||
|
||||
function beforeQuit() {
|
||||
global.appQuitting = true;
|
||||
|
Loading…
x
Reference in New Issue
Block a user