diff options
Diffstat (limited to 'xmake/core/base/table.lua')
| -rw-r--r-- | xmake/core/base/table.lua | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/xmake/core/base/table.lua b/xmake/core/base/table.lua index 9868c93d5..2cf617f3b 100644 --- a/xmake/core/base/table.lua +++ b/xmake/core/base/table.lua @@ -324,18 +324,12 @@ end -- wrap object to table function table.wrap(object) - - -- no object? if nil == object then return {} end - - -- wrap it if not table if type(object) ~= "table" then return {object} end - - -- ok return object end |
