Skip to content

Commit

Permalink
feat(ui): update registry when checking for new package versions (#1147)
Browse files Browse the repository at this point in the history
  • Loading branch information
williamboman committed Mar 28, 2023
1 parent 86979da commit 92fe8b7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lua/mason/ui/instance.lua
Original file line number Diff line number Diff line change
Expand Up @@ -475,6 +475,8 @@ local function check_new_visible_package_versions()
state.packages.new_versions_check.percentage_complete = 0
end)

a.wait(registry.update)

local sem = Semaphore.new(5)
a.wait_all(_.map(function(package)
return function()
Expand Down

0 comments on commit 92fe8b7

Please sign in to comment.