Skip to content

Commit

Permalink
Update author name and re-format project name (electrode-io#402)
Browse files Browse the repository at this point in the history
  • Loading branch information
didi0613 authored and jchip committed Jun 20, 2017
1 parent 95318db commit c43afe7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/generator-electrode/component/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -120,9 +120,9 @@ var ReactComponentGenerator = yeoman.Base.extend({
];
return this.optionOrPrompt(prompts).then(props => {
this.props = extend(this.props, props);
this.projectName = this.props.projectName;
this.packageName = this.props.projectName;
this.developerName = this.props.developerName.split(" ").map(_.toLower).join("");
this.projectName = this.props.projectName.split(" ").map(_.toLower).join("");
this.packageName = this.props.projectName.split(" ").map(_.toLower).join("");
this.developerName = this.props.developerName;
this.quoteType = this.props.quoteType;
this.ghUser = this.props.ghUser;
this.ghRepo = this.props.ghRepo;
Expand Down

0 comments on commit c43afe7

Please sign in to comment.