From ef9fb1de964230bc02eb8d990070e7a2b1bd9f30 Mon Sep 17 00:00:00 2001 From: matthewp Date: Fri, 23 Jul 2021 17:52:47 +0000 Subject: [PATCH] [ci] yarn format --- packages/astro/src/compiler/codegen/index.ts | 2 +- packages/astro/src/compiler/transform/index.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/astro/src/compiler/codegen/index.ts b/packages/astro/src/compiler/codegen/index.ts index 85e6349db..05a45c35b 100644 --- a/packages/astro/src/compiler/codegen/index.ts +++ b/packages/astro/src/compiler/codegen/index.ts @@ -880,7 +880,7 @@ export async function codegen(ast: Ast, { compileOptions, filename, fileID }: Co const { script, createCollection } = compileModule(ast, ast.module, state, compileOptions); - (ast.css || []).map(css => compileCss(css, state)); + (ast.css || []).map((css) => compileCss(css, state)); const html = await compileHtml(ast.html, state, compileOptions); diff --git a/packages/astro/src/compiler/transform/index.ts b/packages/astro/src/compiler/transform/index.ts index 3e0a971cd..c321c9f81 100644 --- a/packages/astro/src/compiler/transform/index.ts +++ b/packages/astro/src/compiler/transform/index.ts @@ -91,7 +91,7 @@ export async function transform(ast: Ast, opts: TransformOptions) { collectVisitors(optimizer, htmlVisitors, cssVisitors, finalizers); } - (ast.css || []).map(css => walkAstWithVisitors(css, cssVisitors)); + (ast.css || []).map((css) => walkAstWithVisitors(css, cssVisitors)); walkAstWithVisitors(ast.html, htmlVisitors); // Run all of the finalizer functions in parallel because why not.