summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Emanuele Stoppa <ematipico@users.noreply.github.com> 2024-10-03 13:39:16 +0000
committerGravatar astrobot-houston <fred+astrobot@astro.build> 2024-10-03 13:39:16 +0000
commit406a21fe4673cbcaaf123ffc6bae62a2ef12c748 (patch)
tree36912fbff4e169ad218a68e712ca9777713de1c3
parentea225585fd12d27006434266163512ca66ad572b (diff)
downloadastro-406a21fe4673cbcaaf123ffc6bae62a2ef12c748.tar.gz
astro-406a21fe4673cbcaaf123ffc6bae62a2ef12c748.tar.zst
astro-406a21fe4673cbcaaf123ffc6bae62a2ef12c748.zip
[ci] format
-rw-r--r--packages/astro/src/core/base-pipeline.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/astro/src/core/base-pipeline.ts b/packages/astro/src/core/base-pipeline.ts
index b1fc5568e..4eeb2f052 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;
}
}
}