Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generator name formatting when running yo when the name contains a - #1751

Open
tdashworth opened this issue Apr 29, 2021 · 0 comments
Open

Comments

@tdashworth
Copy link

When running yo to discover which generators I have installed, the name of a generator is incorrectly formatted when it contains a -. For example, say I have installed the generator generator-sample-project, when running yo the output is:

> yo
? 'Allo Tom! What would you like to do? (Use arrow keys)
  Run a generator
> sample Project
  ──────────────
  Update your generators
  Install a generator
  Find some help
  Clear global config
(Move up and down to reveal more choices)

Instead of this I would expect either

  1. sample-project
  2. sample project
  3. Sample project
  4. Sample Project

But not sample Project.


I am running version 4.0.0 at Windows 10.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant