diff options
| author | gly <[email protected]> | 2022-12-27 16:35:25 +0100 |
|---|---|---|
| committer | gly <[email protected]> | 2022-12-27 16:35:25 +0100 |
| commit | a189b538aa31b0ffe20403df1f03d7585a702d88 (patch) | |
| tree | c715421cc5cb68daa43d1566de3d6a4cf33306b5 | |
| parent | 5e302c4e92e60a7af8b5d3b2b21b2eb40a84d388 (diff) | |
correct candidate parameter name
| -rw-r--r-- | xmake/modules/private/xrepo/quick_search/completion.lua | 2 |
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 |
