summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAkaps316 <[email protected]>2026-04-18 13:05:03 +0530
committerruki <[email protected]>2026-04-20 09:35:36 +0800
commit8a58cf9cb94e016c8a2297f1edab6b883d02e847 (patch)
tree51dcdc78deaad63c2b147c8c704179aba0030ddb
parent8d210b47dae26b061131004f61ba48cce6429d4e (diff)
fix(depgraph): wrap deps in table to avoid json string literal on single dep
-rwxr-xr-xtests/projects/objc/macapp_external_dylib/ext/libextfoo.dylibbin0 -> 16800 bytes
-rw-r--r--xmake/plugins/show/info/depgraph.lua2
2 files changed, 1 insertions, 1 deletions
diff --git a/tests/projects/objc/macapp_external_dylib/ext/libextfoo.dylib b/tests/projects/objc/macapp_external_dylib/ext/libextfoo.dylib
new file mode 100755
index 000000000..c92515666
--- /dev/null
+++ b/tests/projects/objc/macapp_external_dylib/ext/libextfoo.dylib
Binary files differ
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(),