From 98847f12fa092c00708a7dcabcd613fadba55327 Mon Sep 17 00:00:00 2001 From: Outsider Date: Mon, 8 Feb 2021 03:50:52 +0900 Subject: [PATCH] exclude wrong sponsor image temporary Signed-off-by: Outsider --- docs/_data/supporters.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/docs/_data/supporters.js b/docs/_data/supporters.js index e227d423a9..b82093f449 100755 --- a/docs/_data/supporters.js +++ b/docs/_data/supporters.js @@ -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);