mirror of
https://github.com/electron/electron.git
synced 2026-01-10 07:58:08 -05:00
Add space after if
This commit is contained in:
@@ -276,7 +276,7 @@ let win = new BrowserWindow()
|
||||
|
||||
win.webContents.session.setCertificateVerifyProc((request, callback) => {
|
||||
const {hostname} = request
|
||||
if(hostname === 'github.com') {
|
||||
if (hostname === 'github.com') {
|
||||
callback(0)
|
||||
} else {
|
||||
callback(-2)
|
||||
|
||||
Reference in New Issue
Block a user