Skip to content

Commit

Permalink
generate-blueprint: require commands
Browse files Browse the repository at this point in the history
  • Loading branch information
mshima committed Sep 26, 2024
1 parent 9769613 commit fe3c59e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions generators/generate-blueprint/templates/cli/cli.cjs.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ const blueprint = packageFolderName.startsWith('jhipster-') ? `generator-${packa
console.log('');
},
lookups: [{ packagePaths: [packagePath] }],
<%_ if (commands.length > 0) { _%>
commands: require('./commands.cjs'),
<%_ } _%>
...require('./cli-customizations.cjs'),
}).catch(done);

Expand Down

0 comments on commit fe3c59e

Please sign in to comment.