Skip to content

Commit

Permalink
clean up naming
Browse files Browse the repository at this point in the history
  • Loading branch information
kkga committed Sep 16, 2021
1 parent e0b95db commit 54c50a0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/list.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ func (c *ListCmd) Run() error {
d, err := s.Dir()
sessions[i] = session{Name: s.Name, Clients: []string{}, Dir: d}

c, err := s.Clients()
for _, c := range c {
clients, err := s.Clients()
for _, c := range clients {
if c.Name != "" {
sessions[i].Clients = append(sessions[i].Clients, c.Name)
}
Expand Down

0 comments on commit 54c50a0

Please sign in to comment.