repo-tools, create-app: replace duplicate error utilities with cli-common imports (#33893)
* Replace duplicate error utilities with @backstage/cli-common imports Remove dead CustomError and ExitCodeError classes from repo-tools and create-app, replacing them with the ExitCodeError import from @backstage/cli-common. This fixes the instanceof check in exitWithError so it actually catches errors thrown by cli-common's run(). Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com> Made-with: Cursor * Add changeset for repo-tools and create-app Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com> Made-with: Cursor --------- Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
---
|
||||
'@backstage/repo-tools': patch
|
||||
'@backstage/create-app': patch
|
||||
---
|
||||
|
||||
Replaced internal error utilities with shared ones from `@backstage/cli-common`.
|
||||
Reference in New Issue
Block a user