summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar matthewp <matthewp@users.noreply.github.com> 2021-04-16 17:15:59 +0000
committerGravatar GitHub Actions <actions@github.com> 2021-04-16 17:15:59 +0000
commite43d98d6f3aaf9252c336f490b75f4989ea7dab3 (patch)
tree22e0e44d20d1383be3a303c09da588be2636b36a /src
parent58c499dc854b5f8173c95016b1c5da4145cccd96 (diff)
downloadastro-e43d98d6f3aaf9252c336f490b75f4989ea7dab3.tar.gz
astro-e43d98d6f3aaf9252c336f490b75f4989ea7dab3.tar.zst
astro-e43d98d6f3aaf9252c336f490b75f4989ea7dab3.zip
[ci] npm run format
Diffstat (limited to 'src')
-rw-r--r--src/runtime.ts20
1 files changed, 14 insertions, 6 deletions
diff --git a/src/runtime.ts b/src/runtime.ts
index 190db41f0..99f4d9682 100644
--- a/src/runtime.ts
+++ b/src/runtime.ts
@@ -293,13 +293,21 @@ async function createSnowpack(astroConfig: AstroConfig, env: Record<string, any>
/** Core Astro runtime */
export async function createRuntime(astroConfig: AstroConfig, { mode, logging }: RuntimeOptions): Promise<AstroRuntime> {
- const { snowpack: backendSnowpack, snowpackRuntime: backendSnowpackRuntime, snowpackConfig: backendSnowpackConfig } = await createSnowpack(astroConfig, {
- astro: true,
- }, mode);
+ const { snowpack: backendSnowpack, snowpackRuntime: backendSnowpackRuntime, snowpackConfig: backendSnowpackConfig } = await createSnowpack(
+ astroConfig,
+ {
+ astro: true,
+ },
+ mode
+ );
- const { snowpack: frontendSnowpack, snowpackRuntime: frontendSnowpackRuntime, snowpackConfig: frontendSnowpackConfig } = await createSnowpack(astroConfig, {
- astro: false,
- }, mode);
+ const { snowpack: frontendSnowpack, snowpackRuntime: frontendSnowpackRuntime, snowpackConfig: frontendSnowpackConfig } = await createSnowpack(
+ astroConfig,
+ {
+ astro: false,
+ },
+ mode
+ );
const runtimeConfig: RuntimeConfig = {
astroConfig,