Skip to content

Commit

Permalink
Update snap and lint
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolas63 committed Feb 8, 2025
1 parent 8fb0758 commit d6a0f3c
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ exports[`SubGenerator bootstrap-application of dotnetcore JHipster blueprint > r
"clientBundler": "webpack",
"clientBundlerAny": true,
"clientBundlerExperimentalEsbuild": false,
"clientBundlerName": undefined,
"clientBundlerVite": false,
"clientBundlerWebpack": true,
"clientDistDir": "src/Jhipster/ClientApp/dist/",
Expand All @@ -65,6 +66,8 @@ exports[`SubGenerator bootstrap-application of dotnetcore JHipster blueprint > r
"clientRootDir": "src/Jhipster/ClientApp/",
"clientSrcDir": "src/Jhipster/ClientApp/src/",
"clientTestDir": "src/Jhipster/ClientApp/test/",
"clientTestFramework": undefined,
"clientTestFrameworkName": undefined,
"clientTestFrameworks": undefined,
"clientTestFrameworksAny": false,
"clientTestFrameworksCypress": false,
Expand Down
2 changes: 1 addition & 1 deletion generators/entity/command.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ import { asCommand } from 'generator-jhipster';
import { command as entityCommand } from 'generator-jhipster/generators/entity';

export default asCommand({
...entityCommand
...entityCommand,
});
6 changes: 3 additions & 3 deletions generators/entity/generator.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export default class extends EntityGenerator {
}

get [EntityGenerator.INITIALIZING]() {
return this.asInitializingTaskGroup({
return this.asInitializingTaskGroup({
async initializingTemplateTask() {
this.parseJHipsterArguments(command.arguments);
this.parseJHipsterOptions(command.options);
Expand Down Expand Up @@ -72,10 +72,10 @@ export default class extends EntityGenerator {
askForDTO: prompts.askForDTO,
// askForFiltering: prompts.askForFiltering,
askForPagination: prompts.askForPagination,

async composeEntities() {
// We need to compose with others entities to update relationships.
await this.composeWithJHipster("jhipster:entities", {
await this.composeWithJHipster('jhipster:entities', {
generatorArgs: this.options.singleEntity ? [this.entityData.name] : [],
generatorOptions: {
skipDbChangelog: this.options.skipDbChangelog,
Expand Down

0 comments on commit d6a0f3c

Please sign in to comment.