@runeya/runeya 1.33.29 → 1.33.31

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.
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@runeya/runeya",
3
- "version": "1.33.29",
3
+ "version": "1.33.31",
4
4
  "description": "Monitor processes as a stack",
5
5
  "git": "https://github.com/runeya/runeya",
6
6
  "repository": "https://github.com/runeya/runeya",
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,9 @@ 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.includes("STACK_MONITOR_OVERRIDE")) shouldMigrateOverrides = true;
2521
2519
  envs[key].override = override.replace("STACK_MONITOR_OVERRIDE", "RUNEYA_OVERRIDE");
2522
2520
  });
2523
2521
  });
2524
- if (shouldMigrateOverrides) await this.save();
2525
2522
  }
2526
2523
  this.meta = service.meta || {};
2527
2524
  await PromiseB2.map(this.commands || [], async (command) => {
@@ -2530,6 +2527,7 @@ var require_Service = __commonJS({
2530
2527
  ...command.parsers || []
2531
2528
  ], (parserId) => ParserModel.find(parserId)).filter((a) => !!a);
2532
2529
  });
2530
+ await this.save();
2533
2531
  return this;
2534
2532
  })();
2535
2533
  }