aboutsummaryrefslogtreecommitdiff
path: root/src/lpm.lua
diff options
context:
space:
mode:
authorAdam Harrison <adamdharrison@gmail.com>2023-11-27 11:50:37 -0500
committerAdam Harrison <adamdharrison@gmail.com>2023-11-27 11:50:37 -0500
commit2817b43ec5d727cf89655d799cfadb42fcf0eadb (patch)
treedf4aa63fd996c627c843cda67efeea769cab183c /src/lpm.lua
parent239fb370256627dc5ae14ac6a84f44e65f5f1780 (diff)
downloadlite-xl-plugin-manager-2817b43ec5d727cf89655d799cfadb42fcf0eadb.tar.gz
lite-xl-plugin-manager-2817b43ec5d727cf89655d799cfadb42fcf0eadb.zip
Added in fallback for any plugin lacking a modversion to describe themselves as the latest modversion.
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 c2d5f3a..fa216a4 100644
--- a/src/lpm.lua
+++ b/src/lpm.lua
@@ -1798,7 +1798,7 @@ local function print_addon_info(type, addons, filters)
remote = addon.remote,
description = addon.description,
author = addon.author or (addon:is_core(system_bottle) and "lite-xl") or nil,
- mod_version = addon.mod_version,
+ mod_version = addon.mod_version or LATEST_MOD_VERSION,
tags = addon.tags,
type = addon.type,
organization = addon.organization,