chore: remove redundant s.updating = false assignment, as it's already set in the componentUpdateError function

This commit is contained in:
Siyuan 2025-11-18 13:37:04 +00:00
parent aee9940476
commit 7c79b3e514
1 changed files with 0 additions and 1 deletions

View File

@ -181,7 +181,6 @@ func (s *State) doUpdate(ctx context.Context, params UpdateParams) error {
appUpdate, systemUpdate, err := s.getUpdateStatus(ctx, params)
if err != nil {
s.updating = false
return s.componentUpdateError("Error checking for updates", err, &scopedLogger)
}