diff options
| -rw-r--r-- | xmake/core/package/package.lua | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/xmake/core/package/package.lua b/xmake/core/package/package.lua index 10684b736..ee69d4427 100644 --- a/xmake/core/package/package.lua +++ b/xmake/core/package/package.lua @@ -717,7 +717,10 @@ end -- fetch all local info with dependencies function _instance:fetchdeps() - local fetchinfo = table.copy(self:fetch()) + local fetchinfo = self:fetch() + if not fetchinfo then + return + end local orderdeps = self:orderdeps() local total = #orderdeps for idx, _ in ipairs(orderdeps) do |
