Skip to content

Commit c5275b8

Browse files
committed
support message
1 parent 7675b71 commit c5275b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/ask.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ function prompt (data, key, prompt, done) {
3939
inquirer.prompt([{
4040
type: promptMapping[prompt.type] || prompt.type,
4141
name: key,
42-
message: prompt.label || key,
42+
message: prompt.message || prompt.label || key,
4343
default: prompt.default,
4444
choices: prompt.choices || []
4545
}], function (answers) {

0 commit comments

Comments
 (0)