diff options
author | Adam Harrison <adamdharrison@gmail.com> | 2023-11-27 15:09:54 -0500 |
---|---|---|
committer | Adam Harrison <adamdharrison@gmail.com> | 2023-11-27 15:09:54 -0500 |
commit | 82e39386d256f9af0e383b0404747400b5a39dcd (patch) | |
tree | ff1056d5df96f3c4be64f26d4a62e8baaaa97558 /src/lpm.lua | |
parent | be1a7bcd91ff1e4fa269389cbd65cdd54f288429 (diff) | |
download | lite-xl-plugin-manager-82e39386d256f9af0e383b0404747400b5a39dcd.tar.gz lite-xl-plugin-manager-82e39386d256f9af0e383b0404747400b5a39dcd.zip |
Added in a proper repo_path.
Diffstat (limited to 'src/lpm.lua')
-rw-r--r-- | src/lpm.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lpm.lua b/src/lpm.lua index 09c6ca9..5f1ed8c 100644 --- a/src/lpm.lua +++ b/src/lpm.lua @@ -1808,7 +1808,7 @@ local function print_addon_info(type, addons, filters) organization = addon.organization, repository = addon.repository and addon.repository:url(), path = addon:get_path(system_bottle), - repo_path = addon.repo_path or addon.repository.local_path, + repo_path = addon.repo_path or (addon.repository and addon.repository.local_path or nil), url = url } if addon_matches_filter(hash, filters or {}) then |