Skip to content

Commit

Permalink
docs: apply arrow functions to session docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Moisés Neto committed Oct 31, 2018
1 parent b1c449d commit b44b34e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/api/breaking-changes.md
Expand Up @@ -171,11 +171,11 @@ screen.getPrimaryDisplay().workArea

```js
// Deprecated
ses.setCertificateVerifyProc(function (hostname, certificate, callback) {
ses.setCertificateVerifyProc((hostname, certificate, callback) => {
callback(true)
})
// Replace with
ses.setCertificateVerifyProc(function (request, callback) {
ses.setCertificateVerifyProc((request, callback) => {
callback(0)
})
```
Expand Down

0 comments on commit b44b34e

Please sign in to comment.