Make sure we update the success flag

This commit is contained in:
Kallum Jones 2022-08-03 17:53:47 +01:00
parent 32c2f99a31
commit dbe0ae9a48
No known key found for this signature in database
GPG Key ID: D7F4589C4D7F81A9

View File

@ -42,6 +42,7 @@ export default class Mods {
try {
await source.install(id);
spinner.succeed(`Successfully installed ${mod}`);
success = true;
} catch (e) {
// Log the error, and continue to next source
spinner.error(e);