Skip to content
This repository has been archived by the owner on May 23, 2022. It is now read-only.

Commit

Permalink
updating to yeoman-generator v0.23 in process to get to v1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
gavinr committed Dec 30, 2016
1 parent 8389b58 commit 015c93c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion app/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ module.exports = Base.extend({
}
}];

this.prompt(prompts, function(props) {
this.prompt(prompts).then(function(props) {
this.abort = props.abort;
this.wabRoot = props.wabRoot;
this.widgetsType = props.widgetsType;
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,12 @@
"chalk": "^1.0.0",
"underscore.string": "^3.2.3",
"mkdirp": "^0.5.1",
"yeoman-generator": "^0.22.5",
"yeoman-generator": "^0.23.4",
"yosay": "^1.0.2"
},
"devDependencies": {
"mocha": "*",
"yeoman-assert": "^2.0.0",
"yeoman-test": "^1.0.0"
"yeoman-test": "^1.3.0"
}
}
2 changes: 1 addition & 1 deletion widget/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ var WidgetGenerator = Base.extend({
choices: ['ES5', 'ES2015']
}];

this.prompt(prompts, function (props) {
this.prompt(prompts).then(function (props) {
this.widgetName = props.widgetName;
this.widgetTitle = props.widgetTitle;
this.description = props.description;
Expand Down

0 comments on commit 015c93c

Please sign in to comment.