summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar ematipico <ematipico@users.noreply.github.com> 2023-05-17 10:50:02 +0000
committerGravatar fredkbot <fred+astrobot@astro.build> 2023-05-17 10:50:02 +0000
commit3a7f6ae918242a0aeedd5329b3a25bdac0f3ef05 (patch)
tree420f0d143d864d1b767b50656409f6926034ced1
parent075eee08f2e2b0baea008b97f3523f2cb937ee44 (diff)
downloadastro-3a7f6ae918242a0aeedd5329b3a25bdac0f3ef05.tar.gz
astro-3a7f6ae918242a0aeedd5329b3a25bdac0f3ef05.tar.zst
astro-3a7f6ae918242a0aeedd5329b3a25bdac0f3ef05.zip
[ci] format
-rw-r--r--packages/astro/src/core/middleware/callMiddleware.ts10
1 files changed, 7 insertions, 3 deletions
diff --git a/packages/astro/src/core/middleware/callMiddleware.ts b/packages/astro/src/core/middleware/callMiddleware.ts
index 1173ef54f..f202a401a 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.