aboutsummaryrefslogtreecommitdiff
path: root/src/lpm.lua
diff options
context:
space:
mode:
authorAdam Harrison <adamdharrison@gmail.com>2024-02-25 18:27:50 -0500
committerAdam Harrison <adamdharrison@gmail.com>2024-02-25 18:27:50 -0500
commit45d1d50d558c86ba4f9760c3a04382585d724107 (patch)
treee8ee7f90eab6acceef48ff5bbdafb24aad077fed /src/lpm.lua
parent0cb1baaf5054e03b93fadb02ef3411dffe9ca2e9 (diff)
downloadlite-xl-plugin-manager-45d1d50d558c86ba4f9760c3a04382585d724107.tar.gz
lite-xl-plugin-manager-45d1d50d558c86ba4f9760c3a04382585d724107.zip
Made run notification verbose.
Diffstat (limited to 'src/lpm.lua')
-rw-r--r--src/lpm.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lpm.lua b/src/lpm.lua
index f13e662..81e08eb 100644
--- a/src/lpm.lua
+++ b/src/lpm.lua
@@ -1398,7 +1398,7 @@ function Bottle:run(args)
local line = path .. (#args > 0 and " " or "") .. table.concat(common.map(args, function(arg)
return "'" .. arg:gsub("'", "'\"'\"'"):gsub("\\", "\\\\") .. "'"
end), " ")
- log_action("Running " .. line)
+ if VERBOSE then log_action("Running " .. line) end
return os.execute(line)
end