summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2024-04-24 22:41:58 +0800
committerruki <[email protected]>2024-04-24 22:41:58 +0800
commite1910aeb5129ecfabd9ff9d024ae0d1d5938717d (patch)
treede4ef2a5a9427705e13eee7402a7ec52e3b9ee3a
parentd0e21bb8be22356b462aa1b266b43d1f2475535e (diff)
fix package scope api
-rw-r--r--xmake/plugins/show/lists/apis.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/plugins/show/lists/apis.lua b/xmake/plugins/show/lists/apis.lua
index f4a7554a2..1a70263e6 100644
--- a/xmake/plugins/show/lists/apis.lua
+++ b/xmake/plugins/show/lists/apis.lua
@@ -81,7 +81,7 @@ function description_package_scope_apis()
for _, names in pairs(package.apis()) do
for _, name in ipairs(names) do
if type(name) == "table" then
- name = name[1]
+ name = "package." .. name[1]
end
table.insert(result, name)
end