[ci] yarn format

This commit is contained in:
matthewp 2021-06-08 12:34:27 +00:00 committed by GitHub Actions
parent f4a747fb1f
commit a893b4a921

View file

@ -422,12 +422,15 @@ async function createSnowpack(astroConfig: AstroConfig, options: CreateSnowpackO
const envConfig = snowpackConfig.env || (snowpackConfig.env = {}); const envConfig = snowpackConfig.env || (snowpackConfig.env = {});
Object.assign(envConfig, env); Object.assign(envConfig, env);
snowpack = await startSnowpackServer({ snowpack = await startSnowpackServer(
config: snowpackConfig, {
lockfile: null, config: snowpackConfig,
}, { lockfile: null,
isWatch: isHmrEnabled, },
}); {
isWatch: isHmrEnabled,
}
);
const snowpackRuntime = snowpack.getServerRuntime(); const snowpackRuntime = snowpack.getServerRuntime();
return { snowpack, snowpackRuntime, snowpackConfig }; return { snowpack, snowpackRuntime, snowpackConfig };