fix: use a number type for rollback --timestamp option (#12485)

This commit is contained in:
Tomasz Czubocha 2024-05-16 18:31:04 +02:00 committed by GitHub
parent 5a072398bf
commit d2f3e0c4cf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -377,7 +377,7 @@ commands.set('rollback', {
usage: 'Rollback the Serverless service to a specific deployment',
options: {
timestamp: {
type: 'string',
type: 'number',
usage: 'Timestamp of the deployment (list deployments with `serverless deploy list`)',
shortcut: 't',
required: false,