summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJérôme Leclercq <[email protected]>2024-06-02 00:01:51 +0200
committerGitHub <[email protected]>2024-06-02 00:01:51 +0200
commitdf18bca7f47acbde7261be75b578c65614d01a1b (patch)
treec1b3f1014812172b7fa54479b08c44abf2884afc
parentfac0b793999fea4bb820fbb4e573ca1a516601a1 (diff)
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