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 30ee76952..4ed035fd9 100644
--- a/xmake/core/project/template.lua
+++ b/xmake/core/project/template.lua
@@ -171,7 +171,7 @@ function template.create(language, templateid, targetname)
assert(interp)
-- set filter
- interp:filter_set(filter.init(function (variable)
+ interp:filter_set(filter.new(function (variable)
-- init maps
local maps =