@cenk1cenk2/oclif-common 3.1.0-beta.5 → 3.1.0-beta.6
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.js +3 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -668,9 +668,10 @@ var ConfigService = class {
|
|
|
668
668
|
}
|
|
669
669
|
})
|
|
670
670
|
);
|
|
671
|
-
return data.flatMap((d) => d);
|
|
671
|
+
return data.flatMap((d) => d).filter(Boolean);
|
|
672
672
|
}, "iter");
|
|
673
673
|
const parsed = await iter(env);
|
|
674
|
+
this.logger.trace("Environment variable injection: %o", parsed);
|
|
674
675
|
const cb = /* @__PURE__ */ __name(async (variable, data) => {
|
|
675
676
|
if (variable.parser) {
|
|
676
677
|
try {
|
|
@@ -688,7 +689,7 @@ var ConfigService = class {
|
|
|
688
689
|
await Promise.all(
|
|
689
690
|
parsed.map(async (variable) => {
|
|
690
691
|
let data;
|
|
691
|
-
if (variable.key
|
|
692
|
+
if (variable.key?.includes("__element" /* ELEMENT */)) {
|
|
692
693
|
const timeout = 6e4;
|
|
693
694
|
const startedAt = Date.now();
|
|
694
695
|
for (let i = 0; i < Infinity; i++) {
|
package/package.json
CHANGED