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

Beta: Name of add-in gets weird casing #204

Closed
jasonjoh opened this issue Feb 2, 2017 · 1 comment
Closed

Beta: Name of add-in gets weird casing #204

jasonjoh opened this issue Feb 2, 2017 · 1 comment

Comments

@jasonjoh
Copy link
Contributor

jasonjoh commented Feb 2, 2017

For the add-in name, if I enter something like "My Test Add-in", the generator converts it to "My test add-in". This gets put into the Manifest, into the HTML source, etc.

This seems like incorrect behavior. I want my add-in to show up as title-cased, or at least to just show up as I entered it in the prompt.

This line in index.ts seems to be the cause of this:

this.project.projectDisplayName = _.capitalize(this.project.name);
@beth-panx
Copy link
Member

Great spot!! project name should stay as is. Bug logged and will fix it soon.

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

No branches or pull requests

2 participants