Skip to content

Commit

Permalink
docs: add missing ackCallback parameter (#34126)
Browse files Browse the repository at this point in the history
  • Loading branch information
rzhao271 committed May 6, 2022
1 parent 1bdbb69 commit 3ba60de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/api/app.md
Expand Up @@ -1001,7 +1001,7 @@ const gotTheLock = app.requestSingleInstanceLock(additionalData)
if (!gotTheLock) {
app.quit()
} else {
app.on('second-instance', (event, commandLine, workingDirectory, additionalData) => {
app.on('second-instance', (event, commandLine, workingDirectory, additionalData, ackCallback) => {
// We must call preventDefault if we're sending back data.
event.preventDefault()
// Print out data received from the second instance.
Expand Down

0 comments on commit 3ba60de

Please sign in to comment.