Browse Source

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

Alexey Kuzmin 6 years ago
parent
commit
08ec270b90
1 changed files with 1 additions and 1 deletions
  1. 1 1
      docs/api/breaking-changes.md

+ 1 - 1
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) {
 
 })
 ```