Skip to content

Commit 4eba156

Browse files
committed
fix: barry quick fix, 2025-04-27 23:38:27
1 parent 723c6a0 commit 4eba156

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

cmds/tagcmd/cmd.go

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,7 @@ func New() *cli.Command {
2222
Action: func(ctx context.Context, command *cli.Command) error {
2323
defer recovery.Exit()
2424

25-
var done = make(chan struct{})
26-
go func() {
27-
defer close(done)
28-
utils.GitFetchAll()
29-
}()
25+
utils.GitFetchAll()
3026

3127
var p = tea.NewProgram(initialModel())
3228
m := assert.Must1(p.Run()).(model)
@@ -35,8 +31,6 @@ func New() *cli.Command {
3531
return nil
3632
}
3733

38-
<-done
39-
4034
tags := utils.GetAllGitTags()
4135
ver := utils.GetNextTag(selected, tags)
4236
if selected == envRelease {

0 commit comments

Comments
 (0)