diff options
Diffstat (limited to 'xmake/actions/config/xmake.lua')
| -rw-r--r-- | xmake/actions/config/xmake.lua | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/xmake/actions/config/xmake.lua b/xmake/actions/config/xmake.lua index c53844e5c..2c8bb97c1 100644 --- a/xmake/actions/config/xmake.lua +++ b/xmake/actions/config/xmake.lua @@ -206,11 +206,7 @@ task("config") , {} , {nil, "target", "v" , nil , "Configure for the given target." - , values = function () - return try { function () - return table.keys(import("core.project.project").targets()) - end } - end } + , values = function (complete, opt) return import("private.utils.complete_helper.targets")(complete, opt) end } } } |
