aboutsummaryrefslogtreecommitdiff
path: root/src/lpm.lua
diff options
context:
space:
mode:
authorAdam Harrison <adamdharrison@gmail.com>2024-02-11 18:15:22 -0500
committerAdam Harrison <adamdharrison@gmail.com>2024-02-11 18:15:43 -0500
commit78ff363417e5782cf9f2714c7e871ed164af7e48 (patch)
treeb460f4005b78a7cbb1974ce7d3aa556455afabcb /src/lpm.lua
parentcb93fe6e34c2cf697e29809d50ff56050c3ddf99 (diff)
downloadlite-xl-plugin-manager-78ff363417e5782cf9f2714c7e871ed164af7e48.tar.gz
lite-xl-plugin-manager-78ff363417e5782cf9f2714c7e871ed164af7e48.zip
Updated CHANGELOG.md.v1.1.0
Diffstat (limited to 'src/lpm.lua')
-rw-r--r--src/lpm.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lpm.lua b/src/lpm.lua
index 49768ca..7beb181 100644
--- a/src/lpm.lua
+++ b/src/lpm.lua
@@ -2374,6 +2374,7 @@ not commonly used publically.
os.exit(0)
end
if ARGS[2] == "update-checksums" then
+ if #ARGS == 2 then error("usage: lpm update-checksums manifest.json") end
local contents = common.read(ARGS[3])
local m = json.decode(contents)
local computed = {}