[ci] yarn format

This commit is contained in:
matthewp 2021-07-23 17:52:47 +00:00 committed by GitHub Actions
parent 294a656ed9
commit ef9fb1de96
2 changed files with 2 additions and 2 deletions

View file

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

View file

@ -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.