Conform to no-floating-promises (#1725)

This commit is contained in:
Michael Telatynski
2024-06-12 17:17:24 +01:00
committed by GitHub
parent 5c23a23f39
commit 2018a51469
8 changed files with 22 additions and 20 deletions
+1 -1
View File
@@ -50,7 +50,7 @@ function processUrl(url: string): void {
urlToLoad.hash = parsed.hash;
console.log("Opening URL: ", urlToLoad.href);
global.mainWindow.loadURL(urlToLoad.href);
void global.mainWindow.loadURL(urlToLoad.href);
}
function readStore(): Record<string, string> {