Skip to content

Commit

Permalink
fix: send update on vanilla
Browse files Browse the repository at this point in the history
  • Loading branch information
Vilsol committed Dec 23, 2023
1 parent c4f4fbf commit dd40fef
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions cli/installations.go
Original file line number Diff line number Diff line change
Expand Up @@ -501,6 +501,16 @@ func (i *Installation) Install(ctx *GlobalContext, updates chan<- InstallUpdate)
}

if updates != nil {
if i.Vanilla {
updates <- InstallUpdate{
Type: InstallUpdateTypeOverall,
Progress: utils.GenericProgress{
Completed: 1,
Total: 1,
},
}
}

go func() {
channelUsers.Wait()
close(updates)
Expand Down

0 comments on commit dd40fef

Please sign in to comment.