diff options
| author | ruki <[email protected]> | 2016-02-27 20:11:22 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2016-02-27 20:11:22 +0800 |
| commit | dd8ae9c540d5da04a8ffc8a030dfbbd53b26daa9 (patch) | |
| tree | 6a0a9222796e509fffa5f2c3c53567a29be3921e /xmake/core/base/template.lua | |
| parent | 4e56f11cf31ad1279505ee5ed7e29945c20f0639 (diff) | |
add raise interfaces for os
Diffstat (limited to 'xmake/core/base/template.lua')
| -rw-r--r-- | xmake/core/base/template.lua | 3 |
1 files changed, 1 insertions, 2 deletions
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 |
