@runeya/runeya 1.33.29 → 1.33.30
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/node-red-contrib-runeya.tar +0 -0
- package/package.json +1 -1
- package/www.js +2 -3
- package/www.js.map +1 -1
|
Binary file
|
package/package.json
CHANGED
package/www.js
CHANGED
|
@@ -2508,7 +2508,6 @@ var require_Service = __commonJS({
|
|
|
2508
2508
|
const environments = await Environment.all();
|
|
2509
2509
|
const overrides = await dbs2.getDb(`overrides/${this.label}-envs`).read();
|
|
2510
2510
|
if (!isUpdate) {
|
|
2511
|
-
let shouldMigrateOverrides = false;
|
|
2512
2511
|
environments.forEach((environment) => {
|
|
2513
2512
|
const envs = this.envs[environment.label] || {};
|
|
2514
2513
|
Object.keys(envs).forEach((key) => {
|
|
@@ -2517,11 +2516,10 @@ var require_Service = __commonJS({
|
|
|
2517
2516
|
if (tag) envs[key].override = `{{${tag}_RUNEYA_OVERRIDE}}`;
|
|
2518
2517
|
const override = overrides[environment.label]?.[key];
|
|
2519
2518
|
if (!env || !override) return;
|
|
2520
|
-
if (override.
|
|
2519
|
+
if (override) console.log(JSON.stringify(["runeya", envs[key].override], (_, v) => typeof v === "function" ? `[func]` : v));
|
|
2521
2520
|
envs[key].override = override.replace("STACK_MONITOR_OVERRIDE", "RUNEYA_OVERRIDE");
|
|
2522
2521
|
});
|
|
2523
2522
|
});
|
|
2524
|
-
if (shouldMigrateOverrides) await this.save();
|
|
2525
2523
|
}
|
|
2526
2524
|
this.meta = service.meta || {};
|
|
2527
2525
|
await PromiseB2.map(this.commands || [], async (command) => {
|
|
@@ -2530,6 +2528,7 @@ var require_Service = __commonJS({
|
|
|
2530
2528
|
...command.parsers || []
|
|
2531
2529
|
], (parserId) => ParserModel.find(parserId)).filter((a) => !!a);
|
|
2532
2530
|
});
|
|
2531
|
+
await this.save();
|
|
2533
2532
|
return this;
|
|
2534
2533
|
})();
|
|
2535
2534
|
}
|