diff options
author | 2022-03-28 23:56:17 +0000 | |
---|---|---|
committer | 2022-03-28 23:56:17 +0000 | |
commit | 7d29feace103c0cf7c682634d4359b69338c2a1d (patch) | |
tree | 36bafd1ab7a335f891660f8cdc77f64f6e1eef5d | |
parent | f70207082abf369390a01882a85a7e057843fddd (diff) | |
download | astro-7d29feace103c0cf7c682634d4359b69338c2a1d.tar.gz astro-7d29feace103c0cf7c682634d4359b69338c2a1d.tar.zst astro-7d29feace103c0cf7c682634d4359b69338c2a1d.zip |
[ci] format
-rw-r--r-- | packages/astro/src/core/build/static-build.ts | 2 | ||||
-rw-r--r-- | packages/astro/src/core/util.ts | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/packages/astro/src/core/build/static-build.ts b/packages/astro/src/core/build/static-build.ts index 8e1559e97..b166948f1 100644 --- a/packages/astro/src/core/build/static-build.ts +++ b/packages/astro/src/core/build/static-build.ts @@ -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; diff --git a/packages/astro/src/core/util.ts b/packages/astro/src/core/util.ts index 373d6cff1..ca98419da 100644 --- a/packages/astro/src/core/util.ts +++ b/packages/astro/src/core/util.ts @@ -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 === '') { |