diff options
| author | ruki <[email protected]> | 2026-02-28 23:22:18 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2026-02-28 23:22:18 +0800 |
| commit | b569fbf9185bd6e6f6c6370fe486f7eb4e46e6c1 (patch) | |
| tree | 32f557269237fabf132a405041654da557618827 | |
| parent | 0b39869ef9dca5d0f35119540a04358d6a37d8f3 (diff) | |
fix review issues
| -rw-r--r-- | xmake/actions/create/template.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/actions/create/template.lua b/xmake/actions/create/template.lua index ffba50f60..3162f30b2 100644 --- a/xmake/actions/create/template.lua +++ b/xmake/actions/create/template.lua @@ -73,7 +73,7 @@ function _need_replace_variables(filepath) if not os.isfile(filepath) then return false end - if path.filename(filepath) == "xmake.lua" then + if path.filename(filepath):lower() == "xmake.lua" then return true end local extension = path.extension(filepath) |
