Merge pull request #33075 from backstage/fix/generate-catalog-info-allow-excess-args

fix(repo-tools): re-add allowExcessArguments for generate-catalog-info
This commit is contained in:
Fredrik Adelöw
2026-03-02 11:50:51 +01:00
committed by GitHub
2 changed files with 6 additions and 0 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/repo-tools': patch
---
Fixed `generate-catalog-info` command failing with "too many arguments" when invoked by lint-staged via the pre-commit hook.
@@ -226,6 +226,7 @@ export function registerCommands(program: Command) {
'CI run checks that there are no changes to catalog-info.yaml files',
)
.description('Create or fix info yaml files for all backstage packages')
.allowExcessArguments(true)
.action(
lazy(
() => import('./generate-catalog-info/generate-catalog-info'),