Skip to content

Commit

Permalink
exclude wrong sponsor image temporary
Browse files Browse the repository at this point in the history
Signed-off-by: Outsider <[email protected]>
  • Loading branch information
outsideris committed Feb 7, 2021
1 parent 6dd12be commit 98847f1
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions docs/_data/supporters.js
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,13 @@ const fetchImage = process.env.MOCHA_DOCS_SKIP_IMAGE_DOWNLOAD
'received html and expected a png; outage likely'
);
}
// FIXME: this image causes Unsupported image type
if (
url ===
'https://images.opencollective.com/codepilotai/732befb/logo/64.png'
) {
throw new TypeError('temporary fix for build failure');
}
debug('fetched %s', url);
const canvasImage = await loadImage(imageBuf);
debug('ok %s', url);
Expand Down

0 comments on commit 98847f1

Please sign in to comment.