summaryrefslogtreecommitdiff
path: root/xmake/plugins/show/info/depgraph.lua
diff options
context:
space:
mode:
Diffstat (limited to 'xmake/plugins/show/info/depgraph.lua')
-rw-r--r--xmake/plugins/show/info/depgraph.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/plugins/show/info/depgraph.lua b/xmake/plugins/show/info/depgraph.lua
index c2a4db1ea..55a2d7360 100644
--- a/xmake/plugins/show/info/depgraph.lua
+++ b/xmake/plugins/show/info/depgraph.lua
@@ -26,7 +26,7 @@ import("core.project.project")
import("private.detect.check_targetname")
function _collect_target_entry(target)
- local deps = target:get("deps") or {}
+ local deps = table.wrap(target:get("deps"))
return {
name = target:name(),