fix filter in createConfigSecretEnumerator

Signed-off-by: Fredrik Adelöw <freben@gmail.com>
This commit is contained in:
Fredrik Adelöw
2024-02-29 14:10:39 +01:00
parent bbd1fe19ab
commit f235ca7982
2 changed files with 6 additions and 1 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/backend-app-api': patch
---
Make sure to not filter out schemas in `createConfigSecretEnumerator`
@@ -42,7 +42,7 @@ export async function createConfigSecretEnumerator(options: {
const schema =
options.schema ??
(await loadConfigSchema({
dependencies: packages.map(p => p.packageJson.name).filter(() => false),
dependencies: packages.map(p => p.packageJson.name),
}));
return (config: Config) => {