@nomad-e/bluma-cli 0.0.24 → 0.0.25

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.
Files changed (2) hide show
  1. package/dist/main.js +5 -1
  2. package/package.json +1 -1
package/dist/main.js CHANGED
@@ -2518,8 +2518,12 @@ async function checkForUpdates() {
2518
2518
  shouldNotifyInNpmScript: true
2519
2519
  });
2520
2520
  if (notifier.update && !isCI) {
2521
- return `Update available for ${pkg.name}! ${notifier.update.current} \u2192 ${notifier.update.latest}
2521
+ const cur = notifier.update.current;
2522
+ const lat = notifier.update.latest;
2523
+ if (cur && lat && cur !== lat) {
2524
+ return `Update available for ${pkg.name}! ${cur} \u2192 ${lat}
2522
2525
  Run npm i -g ${pkg.name} to update.`;
2526
+ }
2523
2527
  }
2524
2528
  return null;
2525
2529
  } catch (e) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nomad-e/bluma-cli",
3
- "version": "0.0.24",
3
+ "version": "0.0.25",
4
4
  "description": "BluMa independent agent for automation and advanced software engineering.",
5
5
  "author": "Alex Fonseca",
6
6
  "license": "MIT",