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

This commit is contained in:
trop[bot] 2018-11-03 11:37:59 +11:00 committed by Samuel Attard
parent 1f5e0c42f3
commit c422011d58

View file

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