diff --git a/commands/search/usps-tracking.js b/commands/search/usps-tracking.js index b00cd4d8..128d2d8d 100644 --- a/commands/search/usps-tracking.js +++ b/commands/search/usps-tracking.js @@ -23,7 +23,7 @@ module.exports = class USPSTrackingCommand extends Command { label: 'tracking id', prompt: 'What is the tracking ID of the package you would like to track?', type: 'string', - validate: id => /^[0-9]+$/.test(id) + validate: id => /^[0-9A-Z]+$/i.test(id) } ] });