0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2025-03-24 23:21:57 -05:00

[ci] format

This commit is contained in:
Emanuele Stoppa 2024-10-03 13:39:16 +00:00 committed by astrobot-houston
parent ea225585fd
commit 406a21fe46

View file

@ -111,7 +111,7 @@ export abstract class Pipeline {
return this.resolvedMiddleware;
}
// The middleware can be undefined when using edge middleware.
// This is set to undefined by the plugin-ssr.ts
// This is set to undefined by the plugin-ssr.ts
else if (this.middleware) {
const middlewareInstance = await this.middleware();
const onRequest = middlewareInstance.onRequest ?? NOOP_MIDDLEWARE_FN;
@ -123,7 +123,7 @@ export abstract class Pipeline {
return this.resolvedMiddleware;
} else {
this.resolvedMiddleware = NOOP_MIDDLEWARE_FN;
return this.resolvedMiddleware
return this.resolvedMiddleware;
}
}
}