Skip to content

Commit

Permalink
Run Prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
kristiandupont committed May 9, 2024
1 parent e22f380 commit bc240d0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/kanel-kysely/src/makeKyselyHook.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,8 @@ const makeKyselyHook: (makeKyselyConfig?: MakeKyselyConfig) => PreRenderHook =
makeKyselyConfig,
);
output[path].declarations = modifiedDeclarations;
if(makeKyselyConfig.includeSchemaNameInTableName) tableProperty.name = `${schemaName}.${tableProperty.name}`
if (makeKyselyConfig.includeSchemaNameInTableName)
tableProperty.name = `${schemaName}.${tableProperty.name}`;
tableImports.push(tableImport);
tableProps.push(tableProperty);

Expand Down

0 comments on commit bc240d0

Please sign in to comment.