summaryrefslogtreecommitdiff
path: root/xmake/core/tool/builder.lua
diff options
context:
space:
mode:
Diffstat (limited to 'xmake/core/tool/builder.lua')
-rw-r--r--xmake/core/tool/builder.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/xmake/core/tool/builder.lua b/xmake/core/tool/builder.lua
index 19d462551..f8edcd12d 100644
--- a/xmake/core/tool/builder.lua
+++ b/xmake/core/tool/builder.lua
@@ -225,13 +225,13 @@ function builder:get(name)
return self:_tool().get(name)
end
--- get the format of the given file kind
-function builder:format(kind)
+-- get the format of the given target kind
+function builder:format(targetkind)
-- get formats
local formats = self:get("formats")
if formats then
- return formats[kind]
+ return formats[targetkind]
end
end