summaryrefslogtreecommitdiff
path: root/xmake/core/project/template.lua
diff options
context:
space:
mode:
Diffstat (limited to 'xmake/core/project/template.lua')
-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