fix(cli): Fallback to unknown when script.slug is missing in scripts list
This commit is contained in:
@@ -1,5 +1,12 @@
|
||||
# Changelog
|
||||
|
||||
## 2025-10-28 - 1.4.1 - fix(cli)
|
||||
Fallback to 'unknown' when script.slug is missing in scripts list
|
||||
|
||||
- Fixes a potential runtime error when listing scripts if a script entry lacks a slug
|
||||
- Uses a safe fallback ('unknown') before calling padEnd to ensure stable output
|
||||
- Modified file: ts/moxytool.cli.ts
|
||||
|
||||
## 2025-10-28 - 1.4.0 - feat(cli)
|
||||
Improve CLI output and logging with colored header, grouped script listings, and ANSI-styled logger
|
||||
|
||||
|
||||
Reference in New Issue
Block a user