diff --git a/bin/cli-setup b/bin/cli-setup index f95fca8d4..2e5c1e5b8 100755 --- a/bin/cli-setup +++ b/bin/cli-setup @@ -115,6 +115,7 @@ const performSetup = async () => { type: 'input', name: 'whitelistedDomain', message: 'Whitelisted Domain', + when: ({inputWhitelistedDomains}) => inputWhitelistedDomains, validate: (input) => { if (input && input.length > 0) { return true;