This commit is contained in:
dragonfire535
2017-09-15 16:58:21 -04:00
parent 97dac45f40
commit a4f290f50d
+1 -1
View File
@@ -19,7 +19,7 @@ module.exports = class iTunesCommand extends Command {
prompt: `What country should results be obtained for? Either ${list(countries, 'or')}.`,
type: 'string',
validate: country => {
if (countries.includes(country)) return true;
if (countries.includes(country.toLowerCase())) return true;
return `Invalid country, please enter either ${list(countries, 'or')}.`;
},
parse: country => country.toLowerCase()