Skip to content

Commit

Permalink
fix(ui): properly reset new package version state (#1454)
Browse files Browse the repository at this point in the history
  • Loading branch information
williamboman committed Aug 17, 2023
1 parent 74eac86 commit 68e6a15
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 68e6a15

Please sign in to comment.