aboutsummaryrefslogtreecommitdiff
path: root/src/lpm.lua
diff options
context:
space:
mode:
authorAdam Harrison <adamdharrison@gmail.com>2023-11-27 15:09:54 -0500
committerAdam Harrison <adamdharrison@gmail.com>2023-11-27 15:09:54 -0500
commit82e39386d256f9af0e383b0404747400b5a39dcd (patch)
treeff1056d5df96f3c4be64f26d4a62e8baaaa97558 /src/lpm.lua
parentbe1a7bcd91ff1e4fa269389cbd65cdd54f288429 (diff)
downloadlite-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.lua2
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