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.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmake/plugins/show/info/depgraph.lua b/xmake/plugins/show/info/depgraph.lua
index 2c73f3abc..b8107a558 100644
--- a/xmake/plugins/show/info/depgraph.lua
+++ b/xmake/plugins/show/info/depgraph.lua
@@ -23,7 +23,7 @@ import("core.base.option")
import("core.base.json")
import("core.project.config")
import("core.project.project")
-import("private.detect.check_targetname")
+import("private.detect.check_targetnames")
function _collect_target_entry(target)
local deps = {}
@@ -135,7 +135,7 @@ function main(name)
local root_target
if name then
- root_target = assert(check_targetname(name))
+ root_target = assert(check_targetnames(name))
end
local graph = _collect_target_graph(root_target)