We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b4fb853 commit a794300Copy full SHA for a794300
packages/router-generator/src/generator.ts
@@ -1259,7 +1259,8 @@ ${acc.routeTree.map((child) => `${child.variableName}${exportName}: typeof ${get
1259
const lastRouteSegment = split[split.length - 1] ?? trimmedPath
1260
1261
node.isNonPath =
1262
- lastRouteSegment.startsWith('_') || split.every(part => this.routeGroupPatternRegex.test(part))
+ lastRouteSegment.startsWith('_') ||
1263
+ split.every((part) => this.routeGroupPatternRegex.test(part))
1264
1265
node.cleanedPath = removeGroups(
1266
removeUnderscores(removeLayoutSegments(node.path)) ?? '',
0 commit comments