diff options
| -rw-r--r-- | xmake/modules/private/action/require/impl/install_packages.lua | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/xmake/modules/private/action/require/impl/install_packages.lua b/xmake/modules/private/action/require/impl/install_packages.lua index ab5b937ab..f126445e4 100644 --- a/xmake/modules/private/action/require/impl/install_packages.lua +++ b/xmake/modules/private/action/require/impl/install_packages.lua @@ -537,6 +537,11 @@ function _install_packages(packages_install, packages_download, installdeps) table.insert(downloading, instance:displayname()) end end + -- we just return it directly if no thing is waited + -- @see https://github.com/xmake-io/xmake/issues/3535 + if #installing == 0 and #downloading == 0 then + return + end -- get waitobjs tips local tips = nil |
