docs: fix the "second-instance" event handler signature in the docs (#15546)

This commit is contained in:
Alexey Kuzmin 2018-11-02 12:18:12 +01:00 committed by Samuel Attard
parent b2822ed800
commit 08ec270b90

View file

@ -20,7 +20,7 @@ app.makeSingleInstance(function (argv, cwd) {
})
// Replace with
app.requestSingleInstanceLock()
app.on('second-instance', function (argv, cwd) {
app.on('second-instance', function (event, argv, cwd) {
})
```