diff --git a/packages/health-check/src/checks/verbose.js b/packages/health-check/src/checks/verbose.js index 2be05559..753fd755 100644 --- a/packages/health-check/src/checks/verbose.js +++ b/packages/health-check/src/checks/verbose.js @@ -538,7 +538,7 @@ function dappExampleCheck(done) { } const developMomentumBodyHash = "53b44a9d3cfa9b3d66ce5c29976f4383725d3652"; -const developMomentumMetadata = require("./fixtures/developMomentumMetadata.json"); +const developMomentumMetadata = require("../fixtures/developMomentumMetadata.json"); // developMomentumCheck returns the result of trying to download the skylink // for the Develop Momentum Application @@ -726,7 +726,7 @@ function skyBinRedirectCheck(done) { } const skyGalleryBodyHash = "077e54054748d278114f1870f8045a162eb73641"; -const skyGalleryMetadata = require("./fixtures/skygalleryMetadata.json"); +const skyGalleryMetadata = require("../fixtures/skygalleryMetadata.json"); // skyGalleryCheck returns the result of trying to download the skylink for the SkyGallery Application. function skyGalleryCheck(done) { @@ -793,7 +793,7 @@ function uncensoredLibraryCheck(done) { } const uniswapBodyHash = "3965f9a7def085b3a764ddc76a528eda38d72359"; -const uniswapMetadata = require("./fixtures/uniswapMetadata.json"); +const uniswapMetadata = require("../fixtures/uniswapMetadata.json"); // uniswapCheck returns the result of trying to download the skylink // for the Uniswap Application @@ -917,6 +917,12 @@ function skylinkVerification(done, { name, skylink, bodyHash, metadata }) { const currentMetadata = metadataHeader && JSON.parse(metadataHeader); if (!isEqual(currentMetadata, metadata)) { entry.up = false; + + console.log(metadata); + console.log(currentMetadata); + console.log(metadataHeader); + console.log(response.header); + info.metadata = detailedDiff(metadata, currentMetadata); }