Skip to content

Commit

Permalink
[ci] format
Browse files Browse the repository at this point in the history
  • Loading branch information
ematipico authored and astrobot-houston committed Oct 3, 2024
1 parent ea22558 commit 406a21f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/astro/src/core/base-pipeline.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -123,7 +123,7 @@ export abstract class Pipeline {
return this.resolvedMiddleware;
} else {
this.resolvedMiddleware = NOOP_MIDDLEWARE_FN;
return this.resolvedMiddleware
return this.resolvedMiddleware;
}
}
}
Expand Down

0 comments on commit 406a21f

Please sign in to comment.