Skip to content

Commit 3d05d7b

Browse files
authored
fix: fix the push command mistakingly requiring the --max-execution-time option (#2284)
1 parent b9c397a commit 3d05d7b

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.changeset/lazy-jobs-follow.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@redocly/cli": patch
3+
---
4+
5+
Fixed `push` and `push-status` commands mistakenly requiring the `--max-execution-time` option.

packages/cli/src/index.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,6 @@ yargs(hideBin(process.argv))
190190
'max-execution-time': {
191191
description: 'Maximum execution time in seconds.',
192192
type: 'number',
193-
coerce: validatePositiveNumber('max-execution-time'),
194193
},
195194
'continue-on-deploy-failures': {
196195
description: 'Command does not fail even if the deployment fails.',
@@ -295,7 +294,6 @@ yargs(hideBin(process.argv))
295294
'max-execution-time': {
296295
description: 'Maximum execution time in seconds.',
297296
type: 'number',
298-
coerce: validatePositiveNumber('max-execution-time'),
299297
},
300298
'wait-for-deployment': {
301299
description: 'Wait for build to finish.',

0 commit comments

Comments
 (0)