mirror of
https://git.bits.team/Bits/mod-manager.git
synced 2024-11-21 21:48:21 -05:00
Make sure we update the success flag
This commit is contained in:
parent
32c2f99a31
commit
dbe0ae9a48
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user