From 406a21fe4673cbcaaf123ffc6bae62a2ef12c748 Mon Sep 17 00:00:00 2001 From: Emanuele Stoppa Date: Thu, 3 Oct 2024 13:39:16 +0000 Subject: [PATCH] [ci] format --- packages/astro/src/core/base-pipeline.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/astro/src/core/base-pipeline.ts b/packages/astro/src/core/base-pipeline.ts index b1fc5568e0a6..4eeb2f0525b5 100644 --- a/packages/astro/src/core/base-pipeline.ts +++ b/packages/astro/src/core/base-pipeline.ts @@ -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; } } }