[ci] format

This commit is contained in:
FredKSchott 2022-08-11 23:26:19 +00:00 committed by fredkbot
parent 42fd6936cd
commit be6470688f

View file

@ -108,7 +108,9 @@ export async function getImage(
if (!loader) { if (!loader) {
// @ts-ignore // @ts-ignore
const { default: mod } = await import('virtual:image-loader').catch(() => { const { default: mod } = await import('virtual:image-loader').catch(() => {
throw new Error('[@astrojs/image] Builtin image loader not found. (Did you remember to add the integration to your Astro config?)'); throw new Error(
'[@astrojs/image] Builtin image loader not found. (Did you remember to add the integration to your Astro config?)'
);
}); });
loader = mod as ImageService; loader = mod as ImageService;
globalThis.astroImage = globalThis.astroImage || {}; globalThis.astroImage = globalThis.astroImage || {};