summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xmake/plugins/check/xmake.lua2
-rw-r--r--xmake/rules/utils/check_targets/checker.lua2
2 files changed, 2 insertions, 2 deletions
diff --git a/xmake/plugins/check/xmake.lua b/xmake/plugins/check/xmake.lua
index c04f2ffff..08b4cf87d 100644
--- a/xmake/plugins/check/xmake.lua
+++ b/xmake/plugins/check/xmake.lua
@@ -35,7 +35,7 @@ task("check")
"",
"The supported checkers list:",
values = function (complete, opt)
- return import("private.check.checker", {rootdir = os.programdir()}).complete(complete, opt)
+ return import("private.check.checker").complete(complete, opt)
end},
{nil, "arguments", "vs", nil, "Set the checker arguments.",
"e.g.",
diff --git a/xmake/rules/utils/check_targets/checker.lua b/xmake/rules/utils/check_targets/checker.lua
index c6cbd4bf1..f752f9149 100644
--- a/xmake/rules/utils/check_targets/checker.lua
+++ b/xmake/rules/utils/check_targets/checker.lua
@@ -18,7 +18,7 @@
-- @file check_targets.lua
--
-import("private.check.checker", {rootdir = os.programdir()})
+import("private.check.checker")
function _show(str, opt)
_g.showed = _g.showed or {}