summaryrefslogtreecommitdiff
path: root/xmake
diff options
context:
space:
mode:
authorruki <[email protected]>2017-05-26 10:12:47 +0800
committerruki <[email protected]>2017-05-26 10:12:54 +0800
commit8eb5a86661ba0abba0692fb41fe2b61d7609ab34 (patch)
tree989f4f4f60c2cbf7c3c8db656dd60f303468e84d /xmake
parent7d0b8226faf9a4dfc67ded97c4d46e774c2d3ad2 (diff)
add create template project tests
Diffstat (limited to 'xmake')
-rw-r--r--xmake/core/project/template.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/core/project/template.lua b/xmake/core/project/template.lua
index 6c61931f9..a306bf622 100644
--- a/xmake/core/project/template.lua
+++ b/xmake/core/project/template.lua
@@ -259,7 +259,7 @@ function template.create(language, templateid, targetname)
if module.create then
local ok, errors = sandbox.load(module.create)
if not ok then
- utils.errors(errors)
+ utils.error(errors)
return false
end
end