This commit is contained in:
Daniel Odendahl Jr
2017-04-02 15:33:54 +00:00
parent ccd34c6a48
commit eb8cc25ae6
+1 -1
View File
@@ -14,7 +14,7 @@ module.exports = class RomanCommand extends commando.Command {
prompt: 'What do you want to convert to Roman?',
type: 'integer',
validate: number => {
if (number > 1000000 && number < 0) {
if (number > 1000000 || number < 0) {
return 'Please enter a number below one million and above zero.';
}
return true;