@cloud-cli/on 1.2.15 → 1.2.16
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/on.js +1 -1
- package/dist/secrets.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/on.js
CHANGED
|
@@ -8470,7 +8470,7 @@ var Po = class {
|
|
|
8470
8470
|
envFilePath;
|
|
8471
8471
|
secrets = /* @__PURE__ */ new Map();
|
|
8472
8472
|
constructor(e) {
|
|
8473
|
-
this.envFilePath = e;
|
|
8473
|
+
this.envFilePath = e, this.reload();
|
|
8474
8474
|
}
|
|
8475
8475
|
reload() {
|
|
8476
8476
|
for (let [e, t] of Object.entries(process.env)) e.startsWith("SECRET_") && t && this.secrets.set(e.replace("SECRET_", ""), t);
|
package/dist/secrets.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"secrets.d.ts","sourceRoot":"","sources":["../src/secrets.ts"],"names":[],"mappings":"AAGA,qBAAa,WAAW;IAMV,OAAO,CAAC,WAAW,CAAC;IALhC,OAAO,CAAC,OAAO,CAA6B;IAE5C;;OAEG;gBACiB,WAAW,CAAC,EAAE,MAAM,YAAA;
|
|
1
|
+
{"version":3,"file":"secrets.d.ts","sourceRoot":"","sources":["../src/secrets.ts"],"names":[],"mappings":"AAGA,qBAAa,WAAW;IAMV,OAAO,CAAC,WAAW,CAAC;IALhC,OAAO,CAAC,OAAO,CAA6B;IAE5C;;OAEG;gBACiB,WAAW,CAAC,EAAE,MAAM,YAAA;IAIxC,MAAM;IAoBN,GAAG,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS;IAIpC,MAAM,IAAI,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC;IAIhC;;OAEG;IACH,2BAA2B,IAAI,MAAM,EAAE;CAGxC"}
|