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 Jul 18, 2024
1 parent 061f1f4 commit 1a26c6d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
6 changes: 2 additions & 4 deletions packages/astro/src/core/routing/default.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,13 @@ export function createDefaultRoutes(manifest: SSRManifest): DefaultRouteParams[]
return [
{
instance: default404Instance,
matchesComponent: (filePath) =>
filePath.href === new URL(DEFAULT_404_COMPONENT, root).href,
matchesComponent: (filePath) => filePath.href === new URL(DEFAULT_404_COMPONENT, root).href,
route: DEFAULT_404_ROUTE.route,
component: DEFAULT_404_COMPONENT,
},
{
instance: createServerIslandEndpoint(manifest),
matchesComponent: (filePath) =>
filePath.href === new URL(SERVER_ISLAND_COMPONENT, root).href,
matchesComponent: (filePath) => filePath.href === new URL(SERVER_ISLAND_COMPONENT, root).href,
route: SERVER_ISLAND_ROUTE,
component: SERVER_ISLAND_COMPONENT,
},
Expand Down
2 changes: 1 addition & 1 deletion packages/astro/test/units/test-utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ export function createBasicPipeline(options = {}) {
const pipeline = new Pipeline(
options.logger ?? defaultLogger,
options.manifest ?? {
hrefRoot: import.meta.url
hrefRoot: import.meta.url,
},
options.mode ?? 'development',
options.renderers ?? [],
Expand Down

0 comments on commit 1a26c6d

Please sign in to comment.