Skip to content

Commit 38c1d51

Browse files
committed
fix(cli): redundant import
1 parent c8e3921 commit 38c1d51

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.hygen/property/add-to-all-db/dto/16-create-class-transformer-transform.dto.ejs.t

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@ to: src/<%= h.inflection.transform(name, ['pluralize', 'underscore', 'dasherize'
44
before: "} from 'class-transformer'"
55
skip_if: \Transform,
66
---
7-
<% if (isAddToDto && (kind === 'reference' || kind === 'duplication' || (kind === 'primitive' && type === 'Date'))) { -%>
7+
<% if (isAddToDto && (kind === 'primitive' && type === 'Date')) { -%>
88
Transform,
99
<% } -%>

.hygen/property/add-to-document/dto/16-create-class-transformer-transform.dto.ejs.t

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@ to: src/<%= h.inflection.transform(name, ['pluralize', 'underscore', 'dasherize'
44
before: "} from 'class-transformer'"
55
skip_if: \Transform,
66
---
7-
<% if (isAddToDto && (kind === 'reference' || kind === 'duplication' || (kind === 'primitive' && type === 'Date'))) { -%>
7+
<% if (isAddToDto && (kind === 'primitive' && type === 'Date')) { -%>
88
Transform,
99
<% } -%>

.hygen/property/add-to-relational/dto/16-create-class-transformer-transform.dto.ejs.t

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@ to: src/<%= h.inflection.transform(name, ['pluralize', 'underscore', 'dasherize'
44
before: "} from 'class-transformer'"
55
skip_if: \Transform,
66
---
7-
<% if (isAddToDto && (kind === 'reference' || kind === 'duplication' || (kind === 'primitive' && type === 'Date'))) { -%>
7+
<% if (isAddToDto && (kind === 'primitive' && type === 'Date')) { -%>
88
Transform,
99
<% } -%>

0 commit comments

Comments
 (0)