summaryrefslogtreecommitdiff
path: root/xmake/core/project/config.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2018-08-11 00:38:58 +0800
committerruki <[email protected]>2018-08-10 21:53:49 +0800
commitbe6c4d881079de40454f7252fd78c54723cf2f13 (patch)
tree296b792b70ff452320e6d1416f09686ff194d64a /xmake/core/project/config.lua
parent155587617e5e21a569911a4d93e7b5e39e44e0f5 (diff)
rename has_configs to has_config
Diffstat (limited to 'xmake/core/project/config.lua')
-rw-r--r--xmake/core/project/config.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/core/project/config.lua b/xmake/core/project/config.lua
index 48f6bc9c1..283c0a060 100644
--- a/xmake/core/project/config.lua
+++ b/xmake/core/project/config.lua
@@ -267,7 +267,7 @@ function config.is_value(name, ...)
end
end
--- some configs are enabled or exists?
+-- has the given configs?
function config.has(...)
for _, name in ipairs(table.join(...)) do
if name and type(name) == "string" and config.get(name) then