Skip to content

Commit 55db6d4

Browse files
committed
fix: #1968
1 parent a13025c commit 55db6d4

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

.hygen/generate/all-db-resource/module.ejs.t

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
to: src/<%= h.inflection.transform(name, ['pluralize', 'underscore', 'dasherize']) %>/<%= h.inflection.transform(name, ['pluralize', 'underscore', 'dasherize']) %>.module.ts
33
---
44
import {
5-
// common
5+
// do not remove this comment
66
Module,
77
} from '@nestjs/common';
88
import { <%= h.inflection.transform(name, ['pluralize']) %>Service } from './<%= h.inflection.transform(name, ['pluralize', 'underscore', 'dasherize']) %>.service';
@@ -19,7 +19,7 @@ const infrastructurePersistenceModule = (databaseConfig() as DatabaseConfig)
1919

2020
@Module({
2121
imports: [
22-
// import modules, etc.
22+
// do not remove this comment
2323
infrastructurePersistenceModule,
2424
],
2525
controllers: [<%= h.inflection.transform(name, ['pluralize']) %>Controller],

.hygen/generate/document-resource/module.ejs.t

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
to: src/<%= h.inflection.transform(name, ['pluralize', 'underscore', 'dasherize']) %>/<%= h.inflection.transform(name, ['pluralize', 'underscore', 'dasherize']) %>.module.ts
33
---
44
import {
5-
// common
5+
// do not remove this comment
66
Module,
77
} from '@nestjs/common';
88
import { <%= h.inflection.transform(name, ['pluralize']) %>Service } from './<%= h.inflection.transform(name, ['pluralize', 'underscore', 'dasherize']) %>.service';
@@ -11,7 +11,7 @@ import { Document<%= name %>PersistenceModule } from './infrastructure/persisten
1111

1212
@Module({
1313
imports: [
14-
// import modules, etc.
14+
// do not remove this comment
1515
Document<%= name %>PersistenceModule,
1616
],
1717
controllers: [<%= h.inflection.transform(name, ['pluralize']) %>Controller],

.hygen/generate/relational-resource/module.ejs.t

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
to: src/<%= h.inflection.transform(name, ['pluralize', 'underscore', 'dasherize']) %>/<%= h.inflection.transform(name, ['pluralize', 'underscore', 'dasherize']) %>.module.ts
33
---
44
import {
5-
// common
5+
// do not remove this comment
66
Module,
77
} from '@nestjs/common';
88
import { <%= h.inflection.transform(name, ['pluralize']) %>Service } from './<%= h.inflection.transform(name, ['pluralize', 'underscore', 'dasherize']) %>.service';
@@ -11,7 +11,7 @@ import { Relational<%= name %>PersistenceModule } from './infrastructure/persist
1111

1212
@Module({
1313
imports: [
14-
// import modules, etc.
14+
// do not remove this comment
1515
Relational<%= name %>PersistenceModule,
1616
],
1717
controllers: [<%= h.inflection.transform(name, ['pluralize']) %>Controller],

0 commit comments

Comments
 (0)