From 2e1a05572b0588ea62a7d73a331466f88c251f23 Mon Sep 17 00:00:00 2001 From: tycrek Date: Wed, 25 Aug 2021 19:32:00 -0600 Subject: [PATCH] removed default confirmation, user must explicitly provide input --- setup.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/setup.js b/setup.js index f822b31..1bc2465 100755 --- a/setup.js +++ b/setup.js @@ -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') } }