[gnome-shell/benzea/use-app-info-launch] Apply 1 suggestion(s) to 1 file(s)



commit b6aca3ed7fed538ed7f665ee8500221670964460
Author: Benjamin Berg <benjamin sipsolutions net>
Date:   Fri Jul 31 15:04:15 2020 +0000

    Apply 1 suggestion(s) to 1 file(s)

 js/misc/util.js | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/js/misc/util.js b/js/misc/util.js
index 68599c2a2b..9dff976c21 100644
--- a/js/misc/util.js
+++ b/js/misc/util.js
@@ -95,7 +95,8 @@ function trySpawnAppCommandline(command) {
 
     // This cannot fail currently
     let app = Gio.AppInfo.create_from_commandline(quoted, null,
-                                                  Gio.AppInfoCreateFlags.SUPPORTS_STARTUP_NOTIFICATION);
+    const app = Gio.AppInfo.create_from_commandline(quoted, null,
+        Gio.AppInfoCreateFlags.SUPPORTS_STARTUP_NOTIFICATION);
 
     // Launching applications does not check whether the executable exists,
     // it'll just log an error later on. So do an explicit check here.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]