diff options
author | Adam <adamdharrison@gmail.com> | 2022-09-18 18:16:48 -0400 |
---|---|---|
committer | Adam <adamdharrison@gmail.com> | 2022-09-18 18:16:48 -0400 |
commit | a1feb9696cbbffc3ba061dcffc5a0ada9891fb22 (patch) | |
tree | 8cc4cc473e9d7e2e91f862e875d61a32de5fecb7 /lpm.lua | |
parent | da37e3ed1e11853c5133c9851a4fc2dbf2ca8872 (diff) | |
download | lite-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.lua | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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() |