From 3ba60de51d38b0384b38948f28314efa6a5447f9 Mon Sep 17 00:00:00 2001 From: Raymond Zhao Date: Fri, 6 May 2022 13:24:14 -0700 Subject: [PATCH] docs: add missing ackCallback parameter (#34126) --- 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 2aec42c48ae93..e10e20fcd5d22 100755 --- a/docs/api/app.md +++ b/docs/api/app.md @@ -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.