[gnome-shell/benzea/use-app-info-launch] Apply 1 suggestion(s) to 1 file(s)
- From: Benjamin Berg <bberg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/benzea/use-app-info-launch] Apply 1 suggestion(s) to 1 file(s)
- Date: Fri, 31 Jul 2020 15:04:20 +0000 (UTC)
commit e088bb9fa969cea50673f5aea0957e8580ab7d24
Author: Benjamin Berg <benjamin sipsolutions net>
Date: Fri Jul 31 15:04:19 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 9dff976c21..e1ec7cbaea 100644
--- a/js/misc/util.js
+++ b/js/misc/util.js
@@ -100,7 +100,7 @@ function trySpawnAppCommandline(command) {
// Launching applications does not check whether the executable exists,
// it'll just log an error later on. So do an explicit check here.
- let exec = app.get_executable();
+ const exec = app.get_executable();
if (!GLib.find_program_in_path(exec)) {
throw new GLib.SpawnError({ code: GLib.SpawnError.NOENT,
message: _("Command not found") });
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]