removed default confirmation, user must explicitly provide input

pull/51/head
tycrek 3 years ago
parent bb4b0656d1
commit 2e1a05572b
No known key found for this signature in database
GPG Key ID: 25D74F3943625263

@ -238,8 +238,7 @@ function getConfirmSchema(description) {
type: 'string',
pattern: /^[y|n]/gim,
message: 'Must respond with either \'y\' or \'n\'',
default: 'y',
required: false,
required: true,
before: (value) => value.toLowerCase().startsWith('y')
}
}

Loading…
Cancel
Save