From a189b538aa31b0ffe20403df1f03d7585a702d88 Mon Sep 17 00:00:00 2001 From: gly Date: Tue, 27 Dec 2022 16:35:25 +0100 Subject: correct candidate parameter name --- xmake/modules/private/xrepo/quick_search/completion.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.3.1