Skip to content
This repository has been archived by the owner on Nov 21, 2024. It is now read-only.

Commit

Permalink
fix(rucken-lib-nestjs): Clear index.ts for entities
Browse files Browse the repository at this point in the history
  • Loading branch information
EndyKaufman committed May 2, 2019
1 parent a9da634 commit c2a5d96
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/schematics/rucken-lib-nestjs/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,13 @@ function updateSourceFiles(
options.name
).toUpperCase()}_SERVICES = []`;
}
if (path === `/src/entities/index.ts`) {
return `export const ${underscore(
options.name
).toUpperCase()}_ENTITIES = []`;
}
if (path === `/src/index.ts`) {
return `export * from './i18n/ru.i18n';`
return `export * from './i18n/ru.i18n';`;
}
if (path === `/package.json`) {
const original = JSON.parse(content);
Expand Down

0 comments on commit c2a5d96

Please sign in to comment.