summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xmake/core/base/interpreter.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/core/base/interpreter.lua b/xmake/core/base/interpreter.lua
index 066acf5d9..8347498e7 100644
--- a/xmake/core/base/interpreter.lua
+++ b/xmake/core/base/interpreter.lua
@@ -366,7 +366,7 @@ function interpreter:_make(scope_kind, remove_repeat, enable_filter)
-- not this scope for kind?
local scope_for_kind = scopes[scope_kind]
if not scope_for_kind then
- return nil
+ return {}
end
-- the root scope