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
+2 -2
View File
@@ -43,7 +43,7 @@ function checkSquirrelHooks(): boolean {
switch (cmd) {
case "--squirrel-install":
runUpdateExe(["--createShortcut=" + target]).then(() => app.quit());
void runUpdateExe(["--createShortcut=" + target]).then(() => app.quit());
return true;
case "--squirrel-updated":
@@ -52,7 +52,7 @@ function checkSquirrelHooks(): boolean {
return true;
case "--squirrel-uninstall":
runUpdateExe(["--removeShortcut=" + target]).then(() => app.quit());
void runUpdateExe(["--removeShortcut=" + target]).then(() => app.quit());
return true;
default: