Skip to content

Commit

Permalink
fix: commandTerminalName generator
Browse files Browse the repository at this point in the history
  • Loading branch information
thetutlage committed Jan 27, 2024
1 parent 6a58756 commit e5bd6bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/generators.ts
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ const generators = {
commandTerminalName(entityName: string) {
const dashCase = new StringBuilder(this.commandName(entityName)).dashCase().toString()

const [namespace, ...rest] = dashCase.split('_')
const [namespace, ...rest] = dashCase.split('-')
if (!rest.length) {
return namespace
}
Expand Down

0 comments on commit e5bd6bc

Please sign in to comment.