@terraforge/core 0.0.26 → 0.0.27
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -1114,7 +1114,7 @@ const hydrate = async (app, opt) => {
|
|
|
1114
1114
|
const refresh = async (app, opt) => {
|
|
1115
1115
|
const appState = await opt.backend.state.get(app.urn);
|
|
1116
1116
|
const queue = createConcurrencyQueue(opt.concurrency ?? 10);
|
|
1117
|
-
let filteredStacks =
|
|
1117
|
+
let filteredStacks = Object.values(appState?.stacks ?? {});
|
|
1118
1118
|
if (opt.filters && opt.filters.length > 0) filteredStacks = Object.entries(appState?.stacks ?? {}).filter(([stackName]) => {
|
|
1119
1119
|
return opt.filters.includes(stackName);
|
|
1120
1120
|
}).map(([_, state]) => state);
|