From 3a7f6ae918242a0aeedd5329b3a25bdac0f3ef05 Mon Sep 17 00:00:00 2001 From: ematipico Date: Wed, 17 May 2023 10:50:02 +0000 Subject: [PATCH] [ci] format --- packages/astro/src/core/middleware/callMiddleware.ts | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/packages/astro/src/core/middleware/callMiddleware.ts b/packages/astro/src/core/middleware/callMiddleware.ts index 1173ef54f029..f202a401ab34 100644 --- a/packages/astro/src/core/middleware/callMiddleware.ts +++ b/packages/astro/src/core/middleware/callMiddleware.ts @@ -1,9 +1,13 @@ -import type { APIContext, MiddlewareHandler, MiddlewareNext } from '../../@types/astro'; +import { bold } from 'kleur/colors'; +import type { + APIContext, + EndpointOutput, + MiddlewareHandler, + MiddlewareNext, +} from '../../@types/astro'; import { AstroError, AstroErrorData } from '../errors/index.js'; -import type { EndpointOutput } from '../../@types/astro'; import { warn } from '../logger/core.js'; import type { Environment } from '../render'; -import { bold } from 'kleur/colors'; /** * Utility function that is in charge of calling the middleware.