don't leave message empty on prompt
This commit is contained in:
parent
8780d9307b
commit
ea690d3f8b
@ -210,7 +210,9 @@ export class InteractiveOptions extends Persistent {
|
|||||||
|| opt.type === 'number'
|
|| opt.type === 'number'
|
||||||
) {
|
) {
|
||||||
const value = await new Input ({
|
const value = await new Input ({
|
||||||
message: opt.message,
|
message: typeof opt.message === 'undefined'
|
||||||
|
? `input ${opt.name}`
|
||||||
|
: opt.message,
|
||||||
default: opt.default
|
default: opt.default
|
||||||
})
|
})
|
||||||
.run ();
|
.run ();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user