diff --git a/lib/runPrompts.js b/lib/runPrompts.js index 7ea3b4b..071b745 100644 --- a/lib/runPrompts.js +++ b/lib/runPrompts.js @@ -19,7 +19,7 @@ module.exports = async (questions, generator) => { } // Compability with older version - if (q.type === 'text') { + if (q.type === 'text' || q.type === undefined) { q.type = 'input' }