From 49f025e188e71b4061590b72a979a4314a651b2b Mon Sep 17 00:00:00 2001 From: Nicolas Meienberger Date: Sat, 2 Sep 2023 19:21:18 +0200 Subject: [PATCH] refactor: remove the ability to update tipi through the ui --- packages/cli/src/executors/system/system.executors.ts | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/packages/cli/src/executors/system/system.executors.ts b/packages/cli/src/executors/system/system.executors.ts index cc1f0dfd..520128cd 100644 --- a/packages/cli/src/executors/system/system.executors.ts +++ b/packages/cli/src/executors/system/system.executors.ts @@ -407,16 +407,13 @@ export class SystemExecutors { bar.stop(); this.logger.error(`Failed to download Tipi: ${err}`); spinner.fail(`\nFailed to download Tipi ${targetVersion}`); - writer.close(); reject(err); }); writer.on('finish', () => { this.logger.info('Download complete'); bar.stop(); - writer.close(() => { - resolve(''); - }); + resolve(''); }); }); }).catch((e) => {