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', type: 'string',
pattern: /^[y|n]/gim, pattern: /^[y|n]/gim,
message: 'Must respond with either \'y\' or \'n\'', message: 'Must respond with either \'y\' or \'n\'',
default: 'y', required: true,
required: false,
before: (value) => value.toLowerCase().startsWith('y') before: (value) => value.toLowerCase().startsWith('y')
} }
} }

Loading…
Cancel
Save