diff options
| author | Akaps316 <[email protected]> | 2026-04-18 13:05:03 +0530 |
|---|---|---|
| committer | ruki <[email protected]> | 2026-04-20 09:35:36 +0800 |
| commit | 8a58cf9cb94e016c8a2297f1edab6b883d02e847 (patch) | |
| tree | 51dcdc78deaad63c2b147c8c704179aba0030ddb | |
| parent | 8d210b47dae26b061131004f61ba48cce6429d4e (diff) | |
fix(depgraph): wrap deps in table to avoid json string literal on single dep
| -rwxr-xr-x | tests/projects/objc/macapp_external_dylib/ext/libextfoo.dylib | bin | 0 -> 16800 bytes | |||
| -rw-r--r-- | xmake/plugins/show/info/depgraph.lua | 2 |
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 Binary files differnew file mode 100755 index 000000000..c92515666 --- /dev/null +++ b/tests/projects/objc/macapp_external_dylib/ext/libextfoo.dylib 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(), |
