Commit e785924
committed
fix(cli): resolve maxComputeSeconds in validateConfig for bypass cases
If a user exports a trigger.config plain object without going through
defineConfig() (TypeScript allows it), validation previously rejected
the new maxComputeSeconds field with an error mentioning maxDuration.
Mirror the SDK boundary's resolution at the CLI boundary so downstream
internals (which still read maxDuration) keep working.1 parent 11fc7a2 commit e785924
1 file changed
Lines changed: 7 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
341 | 341 | | |
342 | 342 | | |
343 | 343 | | |
344 | | - | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
345 | 349 | | |
346 | | - | |
| 350 | + | |
347 | 351 | | |
348 | 352 | | |
| 353 | + | |
349 | 354 | | |
350 | 355 | | |
351 | 356 | | |
| |||
0 commit comments