Skip to content

Commit 1406d6d

Browse files
Copilotsmorimoto
andcommitted
Apply biome formatting fixes
Co-authored-by: smorimoto <[email protected]>
1 parent 27a20ec commit 1406d6d

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

src/schema-routes/schema-routes.ts

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,7 @@ export class SchemaRoutes {
9393

9494
parseRouteName = (rawRoute) => {
9595
const routeName =
96-
this.config.hooks.onPreBuildRoutePath(rawRoute) ||
97-
rawRoute;
96+
this.config.hooks.onPreBuildRoutePath(rawRoute) || rawRoute;
9897

9998
// TODO forbid leading symbols [\]^` in a major release (allowed yet for backwards compatibility)
10099
const pathParamMatches = (routeName || "").match(
@@ -163,7 +162,10 @@ export class SchemaRoutes {
163162

164163
queryParams.push({
165164
$match: paramName,
166-
name: typeof paramName === "string" ? lodash.camelCase(paramName) : lodash.camelCase(String(paramName)),
165+
name:
166+
typeof paramName === "string"
167+
? lodash.camelCase(paramName)
168+
: lodash.camelCase(String(paramName)),
167169
required: true,
168170
type: "string",
169171
description: "",

0 commit comments

Comments
 (0)