[ci] yarn format

This commit is contained in:
FredKSchott 2021-07-20 04:40:06 +00:00 committed by GitHub Actions
parent 0e761b9bdf
commit 4e6d38aa76

View file

@ -107,7 +107,7 @@ interface CompileComponentOptions {
/** Compiles an Astro component */
export async function compileComponent(source: string, { compileOptions, filename, projectRoot }: CompileComponentOptions): Promise<CompileResult> {
const result = await transformFromSource(source, { compileOptions, filename, projectRoot });
const { hostname, port } = compileOptions.astroConfig.devOptions
const { hostname, port } = compileOptions.astroConfig.devOptions;
const site = compileOptions.astroConfig.buildOptions.site || `http://${hostname}:${port}`;
// return template