summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2026-04-18 23:22:51 +0800
committerruki <[email protected]>2026-04-18 23:22:51 +0800
commitfaa506fc78f04fb6246c1cb26092d2ec43fd46d8 (patch)
treefc42fd4ad1a65d199e5a82c0704b9789a3ca4eb2
parent51b4807029a8d5ea36c7040862d6962f683ae30b (diff)
improve fullname
-rw-r--r--xmake/modules/private/action/require/depgraph.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmake/modules/private/action/require/depgraph.lua b/xmake/modules/private/action/require/depgraph.lua
index 4ac302ae7..ba1fb9ff4 100644
--- a/xmake/modules/private/action/require/depgraph.lua
+++ b/xmake/modules/private/action/require/depgraph.lua
@@ -34,12 +34,12 @@ function _collect_package_entry(instance)
local plaindeps = instance:plaindeps()
if plaindeps then
for _, dep in ipairs(plaindeps) do
- table.insert(deps, dep:name())
+ table.insert(deps, dep:fullname())
end
end
json.mark_as_array(deps)
return {
- name = instance:name(),
+ name = instance:fullname(),
version = instance:version_str(),
deps = deps
}