diff --git a/packages/astro/src/runtime/server/metadata.ts b/packages/astro/src/runtime/server/metadata.ts index ca5a63548..6d9d017d5 100644 --- a/packages/astro/src/runtime/server/metadata.ts +++ b/packages/astro/src/runtime/server/metadata.ts @@ -71,9 +71,9 @@ export class Metadata { */ *hydrationDirectiveSpecifiers() { const found = new Set(); - for(const metadata of this.deepMetadata()) { + for (const metadata of this.deepMetadata()) { for (const directive of metadata.hydrationDirectives) { - if(!found.has(directive)) { + if (!found.has(directive)) { found.add(directive); yield hydrationSpecifier(directive); } diff --git a/packages/astro/test/static-build-frameworks.test.js b/packages/astro/test/static-build-frameworks.test.js index 128deaa38..9627645aa 100644 --- a/packages/astro/test/static-build-frameworks.test.js +++ b/packages/astro/test/static-build-frameworks.test.js @@ -3,7 +3,7 @@ import cheerio from 'cheerio'; import { loadFixture, isWindows } from './test-utils.js'; describe('Static build - frameworks', () => { - if(isWindows) { + if (isWindows) { return; }