Skip to content

Commit

Permalink
[ci] format
Browse files Browse the repository at this point in the history
  • Loading branch information
ascorbic authored and astrobot-houston committed Jan 5, 2025
1 parent 3acc654 commit 694e4cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/astro/src/core/routing/manifest/create.ts
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ function createFileBasedRoutes(
validateSegment(segment, file);

const parts = getParts(segment, file);
const isIndex = isDir ? false : basename.substring(0, basename.lastIndexOf('.')) === "index";
const isIndex = isDir ? false : basename.substring(0, basename.lastIndexOf('.')) === 'index';
const routeSuffix = basename.slice(basename.indexOf('.'), -ext.length);
const isPage = validPageExtensions.has(ext);

Expand Down

0 comments on commit 694e4cd

Please sign in to comment.