Browse Source

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

trop[bot] 6 years ago
parent
commit
8e31642530
1 changed files with 1 additions and 1 deletions
  1. 1 1
      docs/api/breaking-changes.md

+ 1 - 1
docs/api/breaking-changes.md

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