fixup! Factor out CommitLoader.mainBranches into its own class, and store it in Model

This commit is contained in:
Jesse Duffield 2024-05-19 17:24:19 +10:00
parent de7ee9af21
commit 3dc960b475

View file

@ -56,8 +56,6 @@ func (self *ExistingMainBranches) determineMainBranches() []string {
for i, branchName := range self.configuredMainBranches {
wg.Add(1)
i := i
branchName := branchName
go utils.Safe(func() {
defer wg.Done()