hydrooj-addons-manager 0.0.3 → 0.1.0
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
|
@@ -123,7 +123,7 @@ export default class AddonsManagerService extends Service {
|
|
|
123
123
|
result = await sendCommand("hydrooj addon remove " + name, config.pathToHydro);
|
|
124
124
|
break;
|
|
125
125
|
case 'update':
|
|
126
|
-
result = await sendCommand("yarn
|
|
126
|
+
result = await sendCommand("yarn global upgrade " + name + (version ? '@' + version : ''), config.pathToHydro);
|
|
127
127
|
break;
|
|
128
128
|
case 'add':
|
|
129
129
|
result = await sendCommand("yarn global add " + name + (version ? '@' + version : ''), config.pathToHydro);
|