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

This commit is contained in:
trop[bot]
2018-11-03 00:02:19 +11:00
committed by Samuel Attard
parent 91533574c7
commit 8e31642530

View File

@@ -35,7 +35,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) {
})
```