diff options
| author | ruki <[email protected]> | 2022-11-17 10:04:01 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2022-11-17 10:04:01 +0800 |
| commit | cd7cc8bf10fe2aded7cb6a99bd894a46bb9c6756 (patch) | |
| tree | 101e6db7ee7d2ad3516e942b3908001d43ba0236 /xmake/core/package/package.lua | |
| parent | 6eda4ea531300a72984127253c0b79beefd96f56 (diff) | |
Update package.lua
Diffstat (limited to 'xmake/core/package/package.lua')
| -rw-r--r-- | xmake/core/package/package.lua | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/xmake/core/package/package.lua b/xmake/core/package/package.lua index e82691534..af523d2dc 100644 --- a/xmake/core/package/package.lua +++ b/xmake/core/package/package.lua @@ -399,7 +399,9 @@ function _instance:parents(packagename) results = table.unique(results) self._PARENTS_PLAIN = results end - return results + if #results > 0 then + return results + end end end end |
