summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar matthewp <matthewp@users.noreply.github.com> 2021-08-17 17:46:25 +0000
committerGravatar GitHub Actions <actions@github.com> 2021-08-17 17:46:25 +0000
commit71eca0e338bf13a1a61979d180ab8f86663e8d8f (patch)
treed12970d074d32c9f5e7602c2684760b52c18a5fe
parent1971ab3c602896540fb7f0bf5b6670cf5cab92f4 (diff)
downloadastro-71eca0e338bf13a1a61979d180ab8f86663e8d8f.tar.gz
astro-71eca0e338bf13a1a61979d180ab8f86663e8d8f.tar.zst
astro-71eca0e338bf13a1a61979d180ab8f86663e8d8f.zip
[ci] yarn format
-rw-r--r--packages/astro/src/compiler/codegen/index.ts4
1 files changed, 1 insertions, 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) {