Skip to content

Commit

Permalink
Fixed options usage when using Yeoman
Browse files Browse the repository at this point in the history
  • Loading branch information
sinedied committed Mar 22, 2018
1 parent eba64f2 commit 98ad7f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion generators/app/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ class NgxGenerator extends Generator {
let fromVersion = null;

if (this.options.update) {
this.props = this.config.get('props') || {};
this.props = this.config.get('props') || this.props;
fromVersion = this.config.get('version');
}

Expand Down

0 comments on commit 98ad7f4

Please sign in to comment.