aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGuldoman <giulio.lettieri@gmail.com>2024-04-01 09:08:42 +0200
committerGuldoman <giulio.lettieri@gmail.com>2024-04-01 09:08:42 +0200
commit1a6547231efc0231cd357060a84e7e47205dd891 (patch)
tree12d25cb784e2d9f9c15575853d8a27da99cdbe32 /src
parentbe66aaf58f0b3987bf32aef5524ee00a84f8b8ba (diff)
downloadlite-xl-plugin-manager-1a6547231efc0231cd357060a84e7e47205dd891.tar.gz
lite-xl-plugin-manager-1a6547231efc0231cd357060a84e7e47205dd891.zip
Fix `lpm.run` not returning executor function
Diffstat (limited to 'src')
-rw-r--r--src/lpm.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lpm.lua b/src/lpm.lua
index cb08fef..d1155e4 100644
--- a/src/lpm.lua
+++ b/src/lpm.lua
@@ -2178,6 +2178,8 @@ function lpm.run(ARGS)
error("unknown command: " .. ARGS[2])
elseif result == true and JSON then
io.stdout:write(json.encode({ actions = actions, warnings = warnings }))
+ else
+ return result
end
end