From bebcd8a54782ef6ccd46089fc52ad7d1715e6b59 Mon Sep 17 00:00:00 2001 From: Ryan Manuel Date: Fri, 2 Dec 2022 12:46:39 -0600 Subject: [PATCH] Update scripts/binary/binary-integrity-check-source.js Co-authored-by: Emily Rohrbough --- scripts/binary/binary-integrity-check-source.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/binary/binary-integrity-check-source.js b/scripts/binary/binary-integrity-check-source.js index 01894ab9443f..4b6e9420e33a 100644 --- a/scripts/binary/binary-integrity-check-source.js +++ b/scripts/binary/binary-integrity-check-source.js @@ -50,7 +50,7 @@ function validateToString () { function validateElectron (electron) { if (toString.call(electron.app.getAppPath) !== 'function getAppPath() { [native code] }') { - throw new Error(`Integrity check failed for electron.app.getAppPath.toString()`) + throw new Error(`Integrity check failed for toString.call(electron.app.getAppPath)`) } }