From d2f3e0c4cf55aec2574ba2fbea756d2f7fc0f00c Mon Sep 17 00:00:00 2001 From: Tomasz Czubocha Date: Thu, 16 May 2024 18:31:04 +0200 Subject: [PATCH] fix: use a number type for rollback --timestamp option (#12485) --- lib/cli/commands-schema.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/cli/commands-schema.js b/lib/cli/commands-schema.js index dc4099906..89a280146 100644 --- a/lib/cli/commands-schema.js +++ b/lib/cli/commands-schema.js @@ -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,