Fix eslint error
This commit is contained in:
parent
0de7dcad99
commit
0a702e62da
|
@ -240,7 +240,7 @@ app.on('certificate-error', (event, webContents, url, error, certificate, callba
|
||||||
} else {
|
} else {
|
||||||
var detail = `URL: ${url}\nError: ${error}`;
|
var detail = `URL: ${url}\nError: ${error}`;
|
||||||
if (certificateStore.isExisting(url)) {
|
if (certificateStore.isExisting(url)) {
|
||||||
detail = `Certificate is different from previous one.\n\n` + detail;
|
detail = 'Certificate is different from previous one.\n\n' + detail;
|
||||||
}
|
}
|
||||||
|
|
||||||
dialog.showMessageBox(mainWindow, {
|
dialog.showMessageBox(mainWindow, {
|
||||||
|
|
Loading…
Reference in a new issue