From ee939b34c5bb3fa5b2b441ad0eacac74102b22d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anders=20=C3=85berg?= Date: Wed, 30 Oct 2024 14:49:38 +0100 Subject: [PATCH] added void --- apps/desktop/src/main/window.main.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/apps/desktop/src/main/window.main.ts b/apps/desktop/src/main/window.main.ts index 76cc72df1c2..fe8f1afebb2 100644 --- a/apps/desktop/src/main/window.main.ts +++ b/apps/desktop/src/main/window.main.ts @@ -252,8 +252,7 @@ export class WindowMain { if (template === "full-app") { // and load the index.html of the app. // FIXME: Verify that this floating promise is intentional. If it is, add an explanatory comment and ensure there is proper error handling. - // eslint-disable-next-line @typescript-eslint/no-floating-promises - this.win.loadURL( + void this.win.loadURL( url.format({ protocol: "file:", pathname: path.join(__dirname, "/index.html"),