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