Skip to content

Commit

Permalink
fix(update): Fix update completion when not attached to tmux. (#21)
Browse files Browse the repository at this point in the history
Broken by #19
(0f4a222).
  • Loading branch information
JeffFaer committed Mar 19, 2024
1 parent 68bb388 commit 86783cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/update.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ var updateCommand = &cobra.Command{
}

func suggestWorkUnitNames(toComplete string) []string {
var repos map[state.RepoName]api.Repository
repos := make(map[state.RepoName]api.Repository)
if srv := tmux.MaybeCurrentServer(); srv != nil {
st, err := state.New(srv, api.Registered)
if err != nil {
Expand Down

0 comments on commit 86783cc

Please sign in to comment.