Skip to content

Commit

Permalink
[ci] yarn format
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewp authored and actions-user committed Aug 17, 2021
1 parent 1971ab3 commit 71eca0e
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions packages/astro/src/compiler/codegen/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 71eca0e

Please sign in to comment.