summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2021-02-21 22:54:52 +0800
committerruki <[email protected]>2021-02-21 22:54:52 +0800
commitf78a823f3cc8f1b1d71bbd8882a1881c99834aa6 (patch)
tree81ef77fe2b6b584fbb1c317364a1515153256de8
parente53e7a33d47b36ddff4b6ec1ed2a64413760ead6 (diff)
fix errors
-rw-r--r--xmake/modules/private/action/require/impl/package.lua2
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