Skip to content

Commit

Permalink
fix(ui): properly reset new package version state
Browse files Browse the repository at this point in the history
  • Loading branch information
williamboman committed Aug 17, 2023
1 parent 74eac86 commit 9d1aae5
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 @@ -455,6 +455,8 @@ local function check_new_package_version(pkg)
state.packages.states[pkg.name].is_checking_new_version = false
if success then
state.packages.states[pkg.name].new_version = new_version
else
state.packages.states[pkg.name].new_version = nil
end
end)
if success then
Expand Down

0 comments on commit 9d1aae5

Please sign in to comment.