0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2024-12-16 21:46:22 -05:00

[ci] npm run format

This commit is contained in:
matthewp 2021-03-30 19:07:17 +00:00 committed by GitHub Actions
parent 4a732837cd
commit f7603e0097

View file

@ -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);
}