aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAdam Harrison <adamdharrison@gmail.com>2024-04-20 13:44:52 -0400
committerAdam Harrison <adamdharrison@gmail.com>2024-04-20 13:44:52 -0400
commitad9af0bde674b4b5cfa8db4579da769a4cd63d33 (patch)
treef9c14f56b3f7263caab88b7b862152c250189979 /src
parent21a64cbc810615d2c74bf2bf38a8f87500eb913e (diff)
downloadlite-xl-plugin-manager-ad9af0bde674b4b5cfa8db4579da769a4cd63d33.tar.gz
lite-xl-plugin-manager-ad9af0bde674b4b5cfa8db4579da769a4cd63d33.zip
Fixed author variable position.
Diffstat (limited to 'src')
-rw-r--r--src/lpm.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lpm.lua b/src/lpm.lua
index a4cb851..b74e81f 100644
--- a/src/lpm.lua
+++ b/src/lpm.lua
@@ -1929,7 +1929,7 @@ local function print_addon_info(type, addons, filters)
dependencies = addon.dependencies,
remote = addon.remote,
description = addon.description,
- author = addon.author or (addon:is_core(system_bottle) and "lite-xl") or nil,
+ author = addon.extra and addon.extra.author or (addon:is_core(system_bottle) and "lite-xl") or nil,
mod_version = addon.mod_version or LATEST_MOD_VERSION,
tags = addon.tags,
type = addon.type,