[ci] format

This commit is contained in:
matthewp 2022-04-14 13:52:56 +00:00 committed by github-actions[bot]
parent 4ac0d5d4e7
commit c6551289ee
6 changed files with 6 additions and 7 deletions

View file

@ -105,7 +105,7 @@ class AstroBuilder {
client: new URL('./client/', this.config.outDir),
server: new URL('./server/', this.config.outDir),
serverEntry: 'entry.mjs',
staticMode: undefined
staticMode: undefined,
};
await runHookBuildStart({ config: this.config, buildConfig });

View file

@ -74,7 +74,7 @@ if(_start in adapter) {
const code = chunk.code;
chunk.code = code.replace(replaceExp, () => {
return JSON.stringify(manifest);
})
});
}
}
},

View file

@ -196,7 +196,7 @@ export const AstroConfigSchema = z.object({
export async function validateConfig(
userConfig: any,
root: string,
cmd: string,
cmd: string
): Promise<AstroConfig> {
const fileProtocolRoot = pathToFileURL(root + path.sep);
// Manual deprecation checks
@ -433,7 +433,7 @@ export async function resolveConfig(
userConfig: AstroUserConfig,
root: string,
flags: CLIFlags = {},
cmd: string,
cmd: string
): Promise<AstroConfig> {
const mergedConfig = mergeCLIFlags(userConfig, flags, cmd);
const validatedConfig = await validateConfig(mergedConfig, root, cmd);

View file

@ -26,7 +26,6 @@ describe('Markdown pages in SSR', () => {
return html;
}
it('Renders markdown pages correctly', async () => {
const html = await fetchHTML('/post');
const $ = cheerioLoad(html);

View file

@ -37,7 +37,7 @@ export default function () {
serverEntrypoint: '@my-ssr',
exports: ['manifest', 'createApp'],
});
}
},
},
};
}

View file

@ -14,7 +14,7 @@ export default function createIntegration(): AstroIntegration {
hooks: {
'astro:config:done': ({ setAdapter }) => {
setAdapter(getAdapter());
}
},
},
};
}