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