summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2026-02-28 23:22:18 +0800
committerruki <[email protected]>2026-02-28 23:22:18 +0800
commitb569fbf9185bd6e6f6c6370fe486f7eb4e46e6c1 (patch)
tree32f557269237fabf132a405041654da557618827
parent0b39869ef9dca5d0f35119540a04358d6a37d8f3 (diff)
fix review issues
-rw-r--r--xmake/actions/create/template.lua2
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)