From 08ec270b90fa141f7da100157f96c0ec5843c277 Mon Sep 17 00:00:00 2001 From: Alexey Kuzmin Date: Fri, 2 Nov 2018 12:18:12 +0100 Subject: [PATCH] docs: fix the "second-instance" event handler signature in the docs (#15546) --- docs/api/breaking-changes.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/api/breaking-changes.md b/docs/api/breaking-changes.md index f0e54c3b73c1..243f4d158e62 100644 --- a/docs/api/breaking-changes.md +++ b/docs/api/breaking-changes.md @@ -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) { }) ```