From 553573e6ff0a83576e7dfbee7f7c426a54a54b1c Mon Sep 17 00:00:00 2001 From: "trop[bot]" <37223003+trop[bot]@users.noreply.github.com> Date: Fri, 6 May 2022 23:33:41 -0700 Subject: [PATCH] docs: add missing ackCallback parameter (#34127) Co-authored-by: Raymond Zhao --- docs/api/app.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/api/app.md b/docs/api/app.md index a1e9c363c2d79..1d393909da1d5 100755 --- a/docs/api/app.md +++ b/docs/api/app.md @@ -998,7 +998,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.