diff options
| author | ruki <[email protected]> | 2016-02-26 22:36:49 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2016-02-26 22:36:49 +0800 |
| commit | 4e56f11cf31ad1279505ee5ed7e29945c20f0639 (patch) | |
| tree | f47e21c69a5d7b82e9d6105f28a2086542ad5d70 /xmake/core/action/create.lua | |
| parent | 5520585557e76e13368325c50ffb0ca344f2c714 (diff) | |
add ifelse builtin interface for sandbox
Diffstat (limited to 'xmake/core/action/create.lua')
| -rw-r--r-- | xmake/core/action/create.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/core/action/create.lua b/xmake/core/action/create.lua index 30a811b12..cf6dbcd71 100644 --- a/xmake/core/action/create.lua +++ b/xmake/core/action/create.lua @@ -97,7 +97,7 @@ function action_create.menu() local languages = template.languages() for _, language in ipairs(languages) do table.insert(descriptions, string.format(" - language: %s", language)) - local templates = template.loadall(language) + local templates = template.templates(language) if templates then for i, template in ipairs(templates) do table.insert(descriptions, string.format(" %d. %s", i, utils.ifelse(template.description, template.description, "The Unknown Project"))) |
