Skip to content
Permalink
Browse files

Temporarily disable the hash checking for mm2 script

  • Loading branch information...
sindresorhus committed Jul 24, 2019
1 parent 50ecc8a commit c2d7531414f7e912489fc1555d16cc7448109c02
Showing with 5 additions and 4 deletions.
  1. +5 −4 scripts/get-marketmaker/index.js
@@ -33,10 +33,11 @@ const osNameToDirectory = new Map([
['Windows_NT', 'win'],
]);

const checkHash = (filename, hash, expectedHash) => {
if (hash !== expectedHash) {
throw new Error(`The ${filename} hash ${hash} doesn't match the expected hash: ${expectedHash}`);
}
const checkHash = (/* filename, hash, expectedHash */) => {
/// Disabled until https://github.com/KomodoPlatform/atomicDEX-API/issues/496 is fixed
// if (hash !== expectedHash) {
// throw new Error(`The ${filename} hash ${hash} doesn't match the expected hash: ${expectedHash}`);
// }
};

const unzip = async (osName, cachedBuildPath) => {

0 comments on commit c2d7531

Please sign in to comment.
You can’t perform that action at this time.