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 688be7624..30ee76952 100644
--- a/xmake/core/project/template.lua
+++ b/xmake/core/project/template.lua
@@ -43,7 +43,7 @@ function template._interpreter()
end
-- init interpreter
- local interp = interpreter.init()
+ local interp = interpreter.new()
assert(interp)
-- register api: set_description() and set_projectdir()