aboutsummaryrefslogtreecommitdiff
path: root/lpm.lua
diff options
context:
space:
mode:
authorAdam <adamdharrison@gmail.com>2022-09-18 18:16:48 -0400
committerAdam <adamdharrison@gmail.com>2022-09-18 18:16:48 -0400
commita1feb9696cbbffc3ba061dcffc5a0ada9891fb22 (patch)
tree8cc4cc473e9d7e2e91f862e875d61a32de5fecb7 /lpm.lua
parentda37e3ed1e11853c5133c9851a4fc2dbf2ca8872 (diff)
downloadlite-xl-plugin-manager-a1feb9696cbbffc3ba061dcffc5a0ada9891fb22.tar.gz
lite-xl-plugin-manager-a1feb9696cbbffc3ba061dcffc5a0ada9891fb22.zip
Probably last update before release.
Diffstat (limited to 'lpm.lua')
-rw-r--r--lpm.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/lpm.lua b/lpm.lua
index cab07c3..d13d89b 100644
--- a/lpm.lua
+++ b/lpm.lua
@@ -967,7 +967,7 @@ end
local function lpm_repo_list()
if JSON then
- io.stdout:write(json.encode({ repositories = common.map(repositories, function(repo) return { remote = repo.remote, commit = repo.commit, branch = repo.branch, path = repo.local_path .. PATHSEP .. (repo.commit or repo.branch), remotes = common.map(repository.remotes or {}, function(r) return remote.remote .. ":" .. (remote.commit or remote.branch) end) } end) }) .. "\n")
+ io.stdout:write(json.encode({ repositories = common.map(repositories, function(repo) return { remote = repo.remote, commit = repo.commit, branch = repo.branch, path = repo.local_path .. PATHSEP .. (repo.commit or repo.branch), remotes = common.map(repo.remotes or {}, function(r) return remote.remote .. ":" .. (remote.commit or remote.branch) end) } end) }) .. "\n")
else
for i, repository in ipairs(repositories) do
local _, remotes = repository:parse_manifest()