From 27d8f244947e387cbfff9692bc9604d2c15ef44c Mon Sep 17 00:00:00 2001 From: lstocchi Date: Mon, 29 Jan 2024 18:20:44 +0100 Subject: [PATCH] fix: remove unnecessary void Signed-off-by: lstocchi --- packages/backend/src/studio-api-impl.ts | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/packages/backend/src/studio-api-impl.ts b/packages/backend/src/studio-api-impl.ts index de6b08e3b..e24a49d77 100644 --- a/packages/backend/src/studio-api-impl.ts +++ b/packages/backend/src/studio-api-impl.ts @@ -72,10 +72,9 @@ export class StudioApiImpl implements StudioAPI { const model = await this.getModelById(modelId); // Do not wait for the pull application, run it separately - void podmanDesktopApi.window - .withProgress( - { location: podmanDesktopApi.ProgressLocation.TASK_WIDGET, title: `Pulling ${recipe.name}.` }, - () => this.applicationManager.pullApplication(recipe, model), + podmanDesktopApi.window + .withProgress({ location: podmanDesktopApi.ProgressLocation.TASK_WIDGET, title: `Pulling ${recipe.name}.` }, () => + this.applicationManager.pullApplication(recipe, model), ) .catch(() => { this.recipeStatusRegistry.setStatus(recipeId, { recipeId: recipeId, state: 'error', tasks: [] });