Fixes #4373 The printCronList function was crashing when accessing job.id because the Gateway API may return jobId instead of id depending on the version or context. This adds a defensive check that tries jobId first, then falls back to id, then to empty string. Changes: - src/cli/cron-cli/shared.ts: Extract id with type assertion to handle both jobId and id properties, preventing TypeError on .padEnd() |
||
|---|---|---|
| .. | ||
| register.cron-add.ts | ||
| register.cron-edit.ts | ||
| register.cron-simple.ts | ||
| register.ts | ||
| shared.ts | ||