Skip to content

Commit 5f15fe0

Browse files
authored
chore: remove commented code (#1830)
1 parent e19a377 commit 5f15fe0

File tree

1 file changed

+1
-13
lines changed
  • packages/schema/src/plugins/enhancer/enhance

1 file changed

+1
-13
lines changed

packages/schema/src/plugins/enhancer/enhance/index.ts

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -354,20 +354,8 @@ export function enhance(prisma: any, context?: EnhancementContext<${authTypePara
354354
this.transformPrismaTypes(sf, sfNew, delegateInfo);
355355

356356
this.generateExtraTypes(sfNew);
357-
sfNew.formatText();
358-
359-
// if (delegateInfo.length > 0) {
360-
// // transform types for delegated models
361-
// this.transformDelegate(sf, sfNew, delegateInfo);
362-
// sfNew.formatText();
363-
// } else {
364-
365-
// this.transformJsonFields(sf, sfNew);
366-
367-
// // // just copy
368-
// // sfNew.replaceWithText(sf.getFullText());
369-
// }
370357

358+
sfNew.formatText();
371359
await sfNew.save();
372360
}
373361

0 commit comments

Comments
 (0)