We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7bb5cd7 commit 17a85acCopy full SHA for 17a85ac
lib/routes/update.js
@@ -27,9 +27,9 @@ module.exports = function (app) {
27
name: 'generators',
28
message: 'Generators to update',
29
type: 'checkbox',
30
- choices: (app.generators || []).map(function (generator) {
+ choices: Object.keys(app.generators || {}).map(function (key) {
31
return {
32
- name: generator.name,
+ name: app.generators[key].name,
33
checked: true
34
};
35
})
0 commit comments