From b569fbf9185bd6e6f6c6370fe486f7eb4e46e6c1 Mon Sep 17 00:00:00 2001 From: ruki Date: Sat, 28 Feb 2026 23:22:18 +0800 Subject: fix review issues --- xmake/actions/create/template.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit v1.3.1