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 May 16, 2024
1 parent 240a70a commit 3830e5d
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions packages/astro/src/core/app/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -281,8 +281,12 @@ export class App {
}
}
if (routeData) {
this.#logger.debug("router", "The adapter " + this.#manifest.adapterName + " provided a custom RouteData for ", request.url);
this.#logger.debug("router", "RouteData:\n" + routeData);
this.#logger.debug(
'router',
'The adapter ' + this.#manifest.adapterName + ' provided a custom RouteData for ',
request.url
);
this.#logger.debug('router', 'RouteData:\n' + routeData);
}
if (locals) {
if (typeof locals !== 'object') {
Expand All @@ -300,12 +304,12 @@ export class App {
}
if (!routeData) {
routeData = this.match(request);
this.#logger.debug("router", "Astro matched the following route for "+ request.url);
this.#logger.debug("router", "RouteData:\n" + routeData);
this.#logger.debug('router', 'Astro matched the following route for ' + request.url);
this.#logger.debug('router', 'RouteData:\n' + routeData);
}
if (!routeData) {
this.#logger.debug("router", "Astro hasn't found routes that match " + request.url);
this.#logger.debug("router", "Here's the available routes:\n", this.#manifestData);
this.#logger.debug('router', "Astro hasn't found routes that match " + request.url);
this.#logger.debug('router', "Here's the available routes:\n", this.#manifestData);
return this.#renderError(request, { locals, status: 404 });
}
const pathname = this.#getPathnameFromRequest(request);
Expand Down

0 comments on commit 3830e5d

Please sign in to comment.