summaryrefslogtreecommitdiff
path: root/xmake/plugins/project/vsxmake/render.lua
diff options
context:
space:
mode:
authorcharles seizilles <[email protected]>2021-12-10 12:46:50 +0100
committercharles seizilles <[email protected]>2021-12-10 17:25:17 +0100
commitb5e483352b76ff0d18635bc0b33912552e11bc74 (patch)
tree95a90e8c87ee16f5ac547bae58bf267e37a9bfa2 /xmake/plugins/project/vsxmake/render.lua
parenta70d5148d402195a411c590fd049c045ed5b5c7b (diff)
Fix typos
Diffstat (limited to 'xmake/plugins/project/vsxmake/render.lua')
-rw-r--r--xmake/plugins/project/vsxmake/render.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmake/plugins/project/vsxmake/render.lua b/xmake/plugins/project/vsxmake/render.lua
index 99be35197..d599f1dde 100644
--- a/xmake/plugins/project/vsxmake/render.lua
+++ b/xmake/plugins/project/vsxmake/render.lua
@@ -18,7 +18,7 @@
-- @file render.lua
--
-function _fill(opt, parmas)
+function _fill(opt, params)
return function(match)
local imp = match:match("^Import%((.+)%)$")
if imp then
@@ -28,7 +28,7 @@ function _fill(opt, parmas)
local args = path.filename(func):match("%((.+)%)$"):split(",")
return _render(func, opt, args)
end
- return opt.paramsprovider(match, parmas) or "<Not Provided>"
+ return opt.paramsprovider(match, params) or "<Not Provided>"
end
end