hedgequantx 1.2.110 → 1.2.112
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/package.json +1 -1
- package/src/app.js +2 -12
package/package.json
CHANGED
package/src/app.js
CHANGED
|
@@ -693,18 +693,8 @@ const handleUpdate = async () => {
|
|
|
693
693
|
try {
|
|
694
694
|
exec('npm install -g hedgequantx@latest', { stdio: 'pipe' });
|
|
695
695
|
} catch (e) {
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
try {
|
|
699
|
-
exec('sudo npm install -g hedgequantx@latest', { stdio: 'pipe' });
|
|
700
|
-
} catch (e2) {
|
|
701
|
-
spinner.fail('Update failed - try manually: npm install -g hedgequantx@latest');
|
|
702
|
-
return;
|
|
703
|
-
}
|
|
704
|
-
} else {
|
|
705
|
-
spinner.fail('Update failed - try manually: npm install -g hedgequantx@latest');
|
|
706
|
-
return;
|
|
707
|
-
}
|
|
696
|
+
spinner.fail('Update failed - try manually: npm install -g hedgequantx@latest');
|
|
697
|
+
return;
|
|
708
698
|
}
|
|
709
699
|
|
|
710
700
|
spinner.succeed('CLI updated!');
|