summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2024-06-02 08:22:34 +0800
committerGitHub <[email protected]>2024-06-02 08:22:34 +0800
commit38c2ebc6fec0c069d6d1af2ae9c19200a404b0f1 (patch)
tree783dc0eeaff59373cda27e9999d1818595127b49
parent45b3a712189d2cffe1dbc900b4a4cca453140246 (diff)
parentdf18bca7f47acbde7261be75b578c65614d01a1b (diff)
Merge pull request #5177 from SirLynix/patch-17
config: fix is_* and has_* returning nil
-rw-r--r--xmake/core/project/config.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/xmake/core/project/config.lua b/xmake/core/project/config.lua
index f1a97da0c..0eb005bf6 100644
--- a/xmake/core/project/config.lua
+++ b/xmake/core/project/config.lua
@@ -291,6 +291,8 @@ function config.is_value(name, ...)
return true
end
end
+
+ return false
end
-- has the given configs?
@@ -300,6 +302,8 @@ function config.has(...)
return true
end
end
+
+ return false
end
-- dump the configure