📝 Fix code style issue
* Match equality operators for consistent that `==`, `!=` by `===`, `!==`. * Match string expression notation `"` by `'`. [ci skip]
This commit is contained in:
parent
3cc2dd216f
commit
5787bb0226
11 changed files with 33 additions and 33 deletions
|
@ -176,7 +176,7 @@ certificate you should prevent the default behavior with
|
|||
|
||||
```javascript
|
||||
app.on('certificate-error', function(event, webContents, url, error, certificate, callback) {
|
||||
if (url == "https://github.com") {
|
||||
if (url === 'https://github.com') {
|
||||
// Verification logic.
|
||||
event.preventDefault();
|
||||
callback(true);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue