From 71eca0e338bf13a1a61979d180ab8f86663e8d8f Mon Sep 17 00:00:00 2001 From: matthewp Date: Tue, 17 Aug 2021 17:46:25 +0000 Subject: [PATCH] [ci] yarn format --- packages/astro/src/compiler/codegen/index.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/packages/astro/src/compiler/codegen/index.ts b/packages/astro/src/compiler/codegen/index.ts index 26946e9da..96c4f5a74 100644 --- a/packages/astro/src/compiler/codegen/index.ts +++ b/packages/astro/src/compiler/codegen/index.ts @@ -457,9 +457,7 @@ function compileModule(ast: Ast, module: Script, state: CodegenState, compileOpt // Track component imports to be used for server-rendered components const { start, end } = componentImport; - state.componentImports.get(componentName)?.push( - module.content.slice(start || undefined, end || undefined) - ); + state.componentImports.get(componentName)?.push(module.content.slice(start || undefined, end || undefined)); } const { start, end } = componentImport; if (ast.meta.features & FEATURE_CUSTOM_ELEMENT && componentImport.specifiers.length === 0) {