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

github username and email not overrideable #1

Open
oakley808 opened this issue Apr 1, 2016 · 0 comments
Open

github username and email not overrideable #1

oakley808 opened this issue Apr 1, 2016 · 0 comments

Comments

@oakley808
Copy link

Hi.
I think I see a small bug here. Yo reads your github username and email from ~/.gitconfig. But when you attempt to override that during the yo prompts, the values are not properly set in package.json, bower.json, and .yo-rc.json. (the values from .gitconfig are still being used.)

Steps to repeat the issue:

  1. Set up a ~/.gitconfig file with a user block with name and email
  2. Run yo mjs and for the 3rd question ? What is your GitHub name <email>? enter John Smith <[email protected]>
  3. Check the json files listed above for githubName, author, and other properties.

FWIW, yo-rc.json does have the proper appAuthor property.

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