Skip to content

Commit

Permalink
Update scripts/binary/binary-integrity-check-source.js
Browse files Browse the repository at this point in the history
Co-authored-by: Emily Rohrbough <emilyrohrbough@users.noreply.github.com>
  • Loading branch information
ryanthemanuel and emilyrohrbough committed Dec 2, 2022
1 parent 6751287 commit bebcd8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/binary/binary-integrity-check-source.js
Expand Up @@ -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)`)
}
}

Expand Down

0 comments on commit bebcd8a

Please sign in to comment.