summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar matthewp <matthewp@users.noreply.github.com> 2021-11-22 13:48:32 +0000
committerGravatar GitHub Actions <actions@github.com> 2021-11-22 13:48:32 +0000
commit17954a863489889e9cb2ec7bf0a1af38f9302abb (patch)
tree4a32c6afd1ce49627d03f496414012fa58b0b3ba
parentaec4e8da27d64d908d4d1cdf768daf104c2eb0ac (diff)
downloadastro-17954a863489889e9cb2ec7bf0a1af38f9302abb.tar.gz
astro-17954a863489889e9cb2ec7bf0a1af38f9302abb.tar.zst
astro-17954a863489889e9cb2ec7bf0a1af38f9302abb.zip
[ci] yarn format
-rw-r--r--packages/astro/src/core/ssr/css.ts2
-rw-r--r--packages/astro/src/runtime/server/index.ts2
2 files changed, 2 insertions, 2 deletions
diff --git a/packages/astro/src/core/ssr/css.ts b/packages/astro/src/core/ssr/css.ts
index 15898cdab..83478495a 100644
--- a/packages/astro/src/core/ssr/css.ts
+++ b/packages/astro/src/core/ssr/css.ts
@@ -20,7 +20,7 @@ export function getStylesForURL(filePath: URL, viteServer: vite.ViteDevServer):
if (!moduleName) return;
if (!moduleName.id) return;
// mark the entrypoint as scanned to avoid an infinite loop
- scanned.add(moduleName.id)
+ scanned.add(moduleName.id);
for (const importedModule of moduleName.importedModules) {
if (!importedModule.id || scanned.has(importedModule.id)) continue;
const ext = path.extname(importedModule.id.toLowerCase());
diff --git a/packages/astro/src/runtime/server/index.ts b/packages/astro/src/runtime/server/index.ts
index 38f8b6914..640c6aa6c 100644
--- a/packages/astro/src/runtime/server/index.ts
+++ b/packages/astro/src/runtime/server/index.ts
@@ -170,7 +170,7 @@ Did you mean to enable ${formatList(probableRendererNames.map((r) => '`' + r + '
}
// Attempt: user only has a single renderer, default to that
if (!renderer && renderers.length === 1) {
- renderer = renderers[0]
+ renderer = renderers[0];
}
// Attempt: can we guess the renderer from the export extension?
if (!renderer) {