Update to latest

This commit is contained in:
Daniel Odendahl Jr
2017-11-02 22:42:12 +00:00
parent 96c762a552
commit 7560246f26
37 changed files with 89 additions and 120 deletions
+2 -4
View File
@@ -17,10 +17,8 @@ module.exports = class MapCommand extends Command {
label: 'zoom level',
prompt: 'What would you like the zoom level to be? Must be a number from 1-20.',
type: 'integer',
validate: zoom => {
if (zoom < 21 && zoom > 0) return true;
return 'Invalid zoom level, please enter a zoom level from 1-20.';
}
min: 1,
max: 20
},
{
key: 'query',