hydrooj-addons-manager 0.1.1 → 0.1.2
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/index.ts +1 -1
- package/package.json +1 -1
package/index.ts
CHANGED
|
@@ -140,7 +140,7 @@ export default class AddonsManagerService extends Service {
|
|
|
140
140
|
result = rmRes;
|
|
141
141
|
break;
|
|
142
142
|
case 'update':
|
|
143
|
-
result = await sendCommand('yarn', ['global', 'upgrade', name + (version ? '@' + version : '')], config.pathToHydro);
|
|
143
|
+
result = await sendCommand('yarn', ['global', 'upgrade', name + (version ? '@' + version : ''), '--latest'], config.pathToHydro);
|
|
144
144
|
break;
|
|
145
145
|
case 'add':
|
|
146
146
|
await sendCommand('yarn', ['global', 'add', name + (version ? '@' + version : '')], config.pathToHydro);
|