summaryrefslogtreecommitdiff
path: root/xmake/core/tool/tool.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2016-07-14 16:51:17 +0800
committerruki <[email protected]>2016-07-14 16:51:17 +0800
commitdfe578f0d1ffc49f280a6b60724cf8c69674d451 (patch)
tree5b0d3f4e0fabb2badfc0ac8544a71ca4c087ac1c /xmake/core/tool/tool.lua
parent8eb084ef12dccf72659704252f13cc3eea4b8fa6 (diff)
fix check vs issue
Diffstat (limited to 'xmake/core/tool/tool.lua')
-rw-r--r--xmake/core/tool/tool.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/xmake/core/tool/tool.lua b/xmake/core/tool/tool.lua
index 03cc38bc8..ddfe715f2 100644
--- a/xmake/core/tool/tool.lua
+++ b/xmake/core/tool/tool.lua
@@ -192,7 +192,7 @@ function tool._check(shellname, check)
-- check it
local ok, errors = sandbox.load(check, shellname)
if not ok then
- utils.verbose(errors)
+ utils.verror(errors)
end
-- ok?
@@ -202,7 +202,7 @@ function tool._check(shellname, check)
-- load the tool module
local module, errors = tool._load(shellname)
if not module then
- utils.verbose(errors)
+ utils.verror(errors)
end
-- no checker? attempt to run it directly
@@ -213,7 +213,7 @@ function tool._check(shellname, check)
-- check it
local ok, errors = sandbox.load(module.check)
if not ok then
- utils.verbose(errors)
+ utils.verror(errors)
end
-- ok?