0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2025-03-10 23:01:26 -05:00

[ci] format

This commit is contained in:
Luiz Ferraz 2025-02-26 11:41:56 +00:00 committed by astrobot-houston
parent 5be12b2bc9
commit 2154adaead
3 changed files with 4 additions and 4 deletions

View file

@ -1,7 +1,7 @@
import { mergeConfig as mergeViteConfig } from 'vite'; import { mergeConfig as mergeViteConfig } from 'vite';
import { arraify, isObject, isURL } from '../util.js';
import type { DeepPartial } from '../../type-utils.js'; import type { DeepPartial } from '../../type-utils.js';
import type { AstroConfig, AstroInlineConfig } from '../../types/public/index.js'; import type { AstroConfig, AstroInlineConfig } from '../../types/public/index.js';
import { arraify, isObject, isURL } from '../util.js';
function mergeConfigRecursively( function mergeConfigRecursively(
defaults: Record<string, any>, defaults: Record<string, any>,

View file

@ -1,7 +1,6 @@
// This is the main entrypoint when importing the `astro` package. // This is the main entrypoint when importing the `astro` package.
import type { AstroInlineConfig } from '../types/public/config.js'; import type { AstroInlineConfig } from '../types/public/config.js';
import { default as _build } from './build/index.js';
import { default as _sync } from './sync/index.js'; import { default as _sync } from './sync/index.js';
export { default as build } from './build/index.js'; export { default as build } from './build/index.js';

View file

@ -236,7 +236,8 @@ export async function runHookConfigSetup({
} }
logger.debug( logger.debug(
'middleware', 'middleware',
`The integration ${integration.name} has added middleware that runs ${order === 'pre' ? 'before' : 'after' `The integration ${integration.name} has added middleware that runs ${
order === 'pre' ? 'before' : 'after'
} any application middleware you define.`, } any application middleware you define.`,
); );
updatedSettings.middlewares[order].push( updatedSettings.middlewares[order].push(
@ -654,7 +655,7 @@ export async function runHookRouteSetup({
logger.debug( logger.debug(
'router', 'router',
`The ${route.component} route's prerender option has been changed multiple times by integrations:\n` + `The ${route.component} route's prerender option has been changed multiple times by integrations:\n` +
prerenderChangeLogs.map((log) => `- ${log.integrationName}: ${log.value}`).join('\n'), prerenderChangeLogs.map((log) => `- ${log.integrationName}: ${log.value}`).join('\n'),
); );
} }
} }