Merge pull request #25843 from backstage/blam/fix-config-loading

This commit is contained in:
Ben Lambert
2024-07-30 20:33:21 +02:00
committed by GitHub
2 changed files with 6 additions and 1 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/cli': patch
---
Fixing loading of additional config files with new `ConfigSources`
+1 -1
View File
@@ -70,7 +70,7 @@ export async function loadCliConfig(options: Options) {
: undefined,
watch: Boolean(options.watch),
rootDir: paths.targetRoot,
argv: options.args,
argv: options.args.flatMap(t => ['--config', paths.resolveTarget(t)]),
});
const appConfigs = await new Promise<AppConfig[]>((resolve, reject) => {