summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xmake/modules/private/xrepo/quick_search/completion.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/private/xrepo/quick_search/completion.lua b/xmake/modules/private/xrepo/quick_search/completion.lua
index 091a6bf2f..bdd9ce9cf 100644
--- a/xmake/modules/private/xrepo/quick_search/completion.lua
+++ b/xmake/modules/private/xrepo/quick_search/completion.lua
@@ -24,7 +24,7 @@ function _xmake_package_complete(complete, opt)
local candidates = {}
local found = cache.find(complete)
for _, candidate in ipairs(found) do
- table.insert(candidates, {value = candidate.name, desc = candidate.data.description})
+ table.insert(candidates, {value = candidate.name, description = candidate.data.description})
end
return candidates
end