From 8eb5a86661ba0abba0692fb41fe2b61d7609ab34 Mon Sep 17 00:00:00 2001 From: ruki Date: Fri, 26 May 2017 10:12:47 +0800 Subject: add create template project tests --- xmake/core/project/template.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xmake/core/project/template.lua') 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 -- cgit v1.3.1