Skip to content

Commit

Permalink
[ci] npm run format
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewp authored and actions-user committed Apr 16, 2021
1 parent 58c499d commit e43d98d
Showing 1 changed file with 14 additions and 6 deletions.
20 changes: 14 additions & 6 deletions src/runtime.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit e43d98d

Please sign in to comment.