diff options
Diffstat (limited to 'xmake/core/project/template.lua')
| -rw-r--r-- | xmake/core/project/template.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xmake/core/project/template.lua b/xmake/core/project/template.lua index 2834091e3..9295f2335 100644 --- a/xmake/core/project/template.lua +++ b/xmake/core/project/template.lua @@ -158,10 +158,10 @@ function template.templates(language) end -- save template directory - results._DIRECTORY = path.directory(templatefile) + results:set("_DIRECTORY", path.directory(templatefile)) -- insert to templates - table.insert(templates, results) + table.insert(templates, results:info()) end end |
