mirror of
https://git.bits.team/Bits/mod-manager.git
synced 2025-07-09 20:49:44 -04:00
Make sure we update the success flag
This commit is contained in:
@ -42,6 +42,7 @@ export default class Mods {
|
|||||||
try {
|
try {
|
||||||
await source.install(id);
|
await source.install(id);
|
||||||
spinner.succeed(`Successfully installed ${mod}`);
|
spinner.succeed(`Successfully installed ${mod}`);
|
||||||
|
success = true;
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
// Log the error, and continue to next source
|
// Log the error, and continue to next source
|
||||||
spinner.error(e);
|
spinner.error(e);
|
||||||
|
Reference in New Issue
Block a user