Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanthemanuel committed Jan 29, 2025
1 parent dc7bd39 commit 4574e4a
Showing 1 changed file with 11 additions and 9 deletions.
20 changes: 11 additions & 9 deletions scripts/binary/binary-integrity-check-source.js
Original file line number Diff line number Diff line change
Expand Up @@ -106,15 +106,17 @@ function validateCrypto (crypto) {
throw new Error(integrityErrorMessage)
}

// if (originalToString.call(crypto.Hmac.prototype.update) !== `CRYPTO_HMAC_UPDATE_TO_STRING`) {
// console.error(`Integrity check failed for toString.call(crypto.Hmac.prototype.update)`)
// throw new Error(integrityErrorMessage)
// }

// if (originalToString.call(crypto.Hmac.prototype.digest) !== `CRYPTO_HMAC_DIGEST_TO_STRING`) {
// console.error(`Integrity check failed for toString.call(crypto.Hmac.prototype.digest)`)
// throw new Error(integrityErrorMessage)
// }
// eslint-disable-next-line no-constant-condition
if (false && originalToString.call(crypto.Hmac.prototype.update) !== `CRYPTO_HMAC_UPDATE_TO_STRING`) {
console.error(`Integrity check failed for toString.call(crypto.Hmac.prototype.update)`)
throw new Error(integrityErrorMessage)
}

// eslint-disable-next-line no-constant-condition
if (false && originalToString.call(crypto.Hmac.prototype.digest) !== `CRYPTO_HMAC_DIGEST_TO_STRING`) {
console.error(`Integrity check failed for toString.call(crypto.Hmac.prototype.digest)`)
throw new Error(integrityErrorMessage)
}
}

function validateFile ({ filePath, crypto, fs, expectedHash, errorMessage }) {
Expand Down

2 comments on commit 4574e4a

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on 4574e4a Jan 29, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Circle has built the linux x64 version of the Test Runner.

Learn more about this pre-release build at https://on.cypress.io/advanced-installation#Install-pre-release-version

Run this command to install the pre-release locally:

npm install https://cdn.cypress.io/beta/npm/14.0.2/linux-x64/ryanm/prototype/back-out-electron-4574e4aef04ef70de9c25c6db8f637622e1a30ec/cypress.tgz

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on 4574e4a Jan 29, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Circle has built the linux arm64 version of the Test Runner.

Learn more about this pre-release build at https://on.cypress.io/advanced-installation#Install-pre-release-version

Run this command to install the pre-release locally:

npm install https://cdn.cypress.io/beta/npm/14.0.2/linux-arm64/ryanm/prototype/back-out-electron-4574e4aef04ef70de9c25c6db8f637622e1a30ec/cypress.tgz

Please sign in to comment.