From df18bca7f47acbde7261be75b578c65614d01a1b Mon Sep 17 00:00:00 2001 From: Jérôme Leclercq Date: Sun, 2 Jun 2024 00:01:51 +0200 Subject: config: fix is_* and has_* returning nil --- xmake/core/project/config.lua | 4 ++++ 1 file changed, 4 insertions(+) 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 -- cgit v1.3.1