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



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

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

 js/misc/util.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/js/misc/util.js b/js/misc/util.js
index 5e5e274f2e..68599c2a2b 100644
--- a/js/misc/util.js
+++ b/js/misc/util.js
@@ -91,7 +91,7 @@ function spawnCommandLine(commandLine) {
 //
 // Runs @argv as if it was an application, handling startup notification
 function trySpawnAppCommandline(command) {
-    let quoted = command.replace(/%/, '%%');
+    const quoted = command.replace(/%/, '%%');
 
     // This cannot fail currently
     let app = Gio.AppInfo.create_from_commandline(quoted, null,


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