diff options
| author | ruki <[email protected]> | 2023-03-20 22:30:50 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2023-03-20 22:30:50 +0800 |
| commit | f814c64fc110a1d2c6b1fb4aec6f8b16778058b6 (patch) | |
| tree | cad95768636267e07e15d98a59745c2ee1d601e1 | |
| parent | 2891d0a122e4d320a7b3880810595652f21d0ce6 (diff) | |
improve to wait installing #3535
| -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 |
