1
0
mirror of https://github.com/bitwarden/browser synced 2026-03-02 03:21:19 +00:00

added void

This commit is contained in:
Anders Åberg
2024-10-30 14:49:38 +01:00
parent 7ed1b67ac3
commit ee939b34c5

View File

@@ -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"),