From dd8ae9c540d5da04a8ffc8a030dfbbd53b26daa9 Mon Sep 17 00:00:00 2001 From: ruki Date: Sat, 27 Feb 2016 20:11:22 +0800 Subject: add raise interfaces for os --- xmake/core/base/template.lua | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'xmake/core/base/template.lua') diff --git a/xmake/core/base/template.lua b/xmake/core/base/template.lua index 76f5398c5..b80e38baf 100644 --- a/xmake/core/base/template.lua +++ b/xmake/core/base/template.lua @@ -132,8 +132,7 @@ function template.templates(language) local results, errors = interp:load(templatefile, nil, true, true) if not results then -- trace - utils.error(errors) - utils.abort() + os.raise(errors) end -- save template directory -- cgit v1.3.1