[ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh

This commit is contained in:
macneale4
2025-05-27 23:00:28 +00:00
parent cace617fc1
commit 46cd952841

View File

@@ -146,7 +146,7 @@ func removeRemote(ctx *sql.Context, dbd env.DbData[*sql.Context], apr *argparser
if err != nil {
return fmt.Errorf("failed to get branches: %w", err)
}
var branchesToUpdate []string
branches.Iter(func(branchName string, config env.BranchConfig) bool {
if config.Remote == remote.Name {
@@ -154,7 +154,7 @@ func removeRemote(ctx *sql.Context, dbd env.DbData[*sql.Context], apr *argparser
}
return true
})
// Clear the remote tracking for these branches by updating their configs
for _, branchName := range branchesToUpdate {
currentConfig, _ := branches.Get(branchName)