Skip to content

Commit

Permalink
🧼 format & lint: apply new linter rules
Browse files Browse the repository at this point in the history
  • Loading branch information
m1212e committed Jul 16, 2024
1 parent ff91588 commit eba8065
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/generators/relations.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,9 @@ export function stringifyRelations(data: DMMF.Model) {
(e) => e.name === field.type,
)?.stringRepresentation;

if (!stringifiedType) {
return undefined;
}
if (!stringifiedType) {
return undefined;
}

if (field.isList) {
stringifiedType = wrapWithArray(stringifiedType);
Expand Down

0 comments on commit eba8065

Please sign in to comment.