[ci] format

This commit is contained in:
FredKSchott 2022-03-28 23:56:17 +00:00 committed by GitHub Actions
parent f70207082a
commit 7d29feace1
2 changed files with 3 additions and 3 deletions

View file

@ -169,7 +169,7 @@ async function clientBuild(opts: StaticBuildOptions, internals: BuildInternals,
}
// TODO: use vite.mergeConfig() here?
info(opts.logging, null, `\n${bgGreen(black(' building client '))}`);
info(opts.logging, null, `\n${bgGreen(black(' building client '))}`);
const out = isBuildingToSSR(astroConfig) ? opts.buildConfig.client : astroConfig.dist;

View file

@ -43,10 +43,10 @@ export function padMultilineString(source: string, n = 2) {
const STATUS_CODE_REGEXP = /^\/?[0-9]{3}$/;
/**
/**
* Get the correct output filename for a route, based on your config.
* Handles both "/foo" and "foo" `name` formats.
* Handles `/404` and `/` correctly.
* Handles `/404` and `/` correctly.
*/
export function getOutputFilename(astroConfig: AstroConfig, name: string) {
if (name === '/' || name === '') {