neoagent 1.1.2 → 1.1.3
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/lib/manager.js +2 -2
- package/package.json +1 -1
package/lib/manager.js
CHANGED
|
@@ -406,10 +406,10 @@ function cmdUpdate() {
|
|
|
406
406
|
logWarn('No git repo detected; attempting npm global update.');
|
|
407
407
|
if (commandExists('npm')) {
|
|
408
408
|
try {
|
|
409
|
-
runOrThrow('npm', ['
|
|
409
|
+
runOrThrow('npm', ['install', '-g', 'neoagent@latest']);
|
|
410
410
|
logOk('npm global update completed');
|
|
411
411
|
} catch {
|
|
412
|
-
logWarn('npm global update failed. Run: npm
|
|
412
|
+
logWarn('npm global update failed. Run: npm install -g neoagent@latest');
|
|
413
413
|
}
|
|
414
414
|
} else {
|
|
415
415
|
logWarn('npm not found. Cannot perform global update.');
|