From dbe0ae9a485502e64ccecf6b40699dea9123e465 Mon Sep 17 00:00:00 2001 From: Kallum Jones Date: Wed, 3 Aug 2022 17:53:47 +0100 Subject: [PATCH] Make sure we update the success flag --- src/mods/mods.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mods/mods.ts b/src/mods/mods.ts index 7fbc1be..8a6871a 100644 --- a/src/mods/mods.ts +++ b/src/mods/mods.ts @@ -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);