diff options
| author | ruki <[email protected]> | 2021-02-21 22:54:52 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2021-02-21 22:54:52 +0800 |
| commit | f78a823f3cc8f1b1d71bbd8882a1881c99834aa6 (patch) | |
| tree | 81ef77fe2b6b584fbb1c317364a1515153256de8 | |
| parent | e53e7a33d47b36ddff4b6ec1ed2a64413760ead6 (diff) | |
fix errors
| -rw-r--r-- | xmake/modules/private/action/require/impl/package.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/private/action/require/impl/package.lua b/xmake/modules/private/action/require/impl/package.lua index f31400625..9d2c87bc4 100644 --- a/xmake/modules/private/action/require/impl/package.lua +++ b/xmake/modules/private/action/require/impl/package.lua @@ -586,7 +586,7 @@ function should_install(package) if package:parents() then -- if all the packages that depend on it already exist, then there is no need to install it for _, parent in pairs(package:parents()) do - if _should_install(parent) and not parent:exists() then + if should_install(parent) and not parent:exists() then return true end end |
