summaryrefslogtreecommitdiff
path: root/packages/astro/src
diff options
context:
space:
mode:
Diffstat (limited to 'packages/astro/src')
-rw-r--r--packages/astro/src/internal/__astro_component.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/astro/src/internal/__astro_component.ts b/packages/astro/src/internal/__astro_component.ts
index 10844db93..4976fe84f 100644
--- a/packages/astro/src/internal/__astro_component.ts
+++ b/packages/astro/src/internal/__astro_component.ts
@@ -40,16 +40,16 @@ async function resolveRenderer(Component: any, props: any = {}, children?: strin
try {
const shouldUse: boolean = await __renderer.check(Component, props, children);
- if(shouldUse) {
+ if (shouldUse) {
rendererCache.set(Component, __renderer);
return __renderer;
}
- } catch(err) {
+ } catch (err) {
errors.push(err);
}
}
- if(errors.length) {
+ if (errors.length) {
// For now just throw the first error we encounter.
throw errors[0];
}