summaryrefslogtreecommitdiff
path: root/src/compiler/codegen.ts
diff options
context:
space:
mode:
authorGravatar matthewp <matthewp@users.noreply.github.com> 2021-03-30 19:07:17 +0000
committerGravatar GitHub Actions <actions@github.com> 2021-03-30 19:07:17 +0000
commitf7603e0097ee153609575d415ee011dd3d464670 (patch)
tree2484126cbe9693578297f86b5f8a3a979ffd9629 /src/compiler/codegen.ts
parent4a732837cdd1ad5493a25ae58612e9b6a302c651 (diff)
downloadastro-f7603e0097ee153609575d415ee011dd3d464670.tar.gz
astro-f7603e0097ee153609575d415ee011dd3d464670.tar.zst
astro-f7603e0097ee153609575d415ee011dd3d464670.zip
[ci] npm run format
Diffstat (limited to 'src/compiler/codegen.ts')
-rw-r--r--src/compiler/codegen.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/compiler/codegen.ts b/src/compiler/codegen.ts
index add38baad..70620111d 100644
--- a/src/compiler/codegen.ts
+++ b/src/compiler/codegen.ts
@@ -354,7 +354,7 @@ export async function codegen(ast: Ast, { compileOptions, filename }: CodeGenOpt
if (!components[componentName]) {
throw new Error(`Unknown Component: ${componentName}`);
}
- const { wrapper, wrapperImport } = getComponentWrapper(name, components[componentName], {astroConfig, dynamicImports, filename});
+ const { wrapper, wrapperImport } = getComponentWrapper(name, components[componentName], { astroConfig, dynamicImports, filename });
if (wrapperImport) {
importExportStatements.add(wrapperImport);
}
@@ -406,7 +406,7 @@ export async function codegen(ast: Ast, { compileOptions, filename }: CodeGenOpt
if (!componentImportData) {
throw new Error(`Unknown Component: ${componentName}`);
}
- const { wrapper, wrapperImport } = getComponentWrapper(name, components[componentName], {astroConfig, dynamicImports, filename});
+ const { wrapper, wrapperImport } = getComponentWrapper(name, components[componentName], { astroConfig, dynamicImports, filename });
if (wrapperImport) {
importExportStatements.add(wrapperImport);
}