diff options
Diffstat (limited to 'xmake/core/base/table.lua')
| -rw-r--r-- | xmake/core/base/table.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/core/base/table.lua b/xmake/core/base/table.lua index 1c19f588d..73556c9fc 100644 --- a/xmake/core/base/table.lua +++ b/xmake/core/base/table.lua @@ -310,7 +310,7 @@ end -- unwrap object if be only one function table.unwrap(object) - if type(object) == "table" then + if type(object) == "table" and not getmetatable(object) then if #object == 1 then return object[1] end |
