agenttop 0.11.2 → 0.11.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/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -648,7 +648,7 @@ var checkForUpdate = () => new Promise((resolve) => {
|
|
|
648
648
|
var installUpdate = () => {
|
|
649
649
|
const npm = getNpmPath();
|
|
650
650
|
return new Promise((resolve, reject) => {
|
|
651
|
-
execFile(npm, ["install", "-g", "agenttop@latest"], { timeout: 6e4 }, (err, stdout) => {
|
|
651
|
+
execFile(npm, ["install", "-g", "--force", "agenttop@latest"], { timeout: 6e4 }, (err, stdout) => {
|
|
652
652
|
if (err) {
|
|
653
653
|
reject(err);
|
|
654
654
|
} else {
|