Skip to content
This repository was archived by the owner on May 3, 2024. It is now read-only.

Commit 9cc2507

Browse files
committed
format fix
1 parent 098348b commit 9cc2507

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

komanda/command/join.go

+6-6
Original file line numberDiff line numberDiff line change
@@ -47,13 +47,13 @@ func (e *JoinCmd) Exec(args []string) error {
4747
ui.UpdateMenuView(g)
4848

4949
return nil
50-
} else {
51-
s.Client.Join(args[1])
52-
CurrentChannel = args[1]
53-
s.CurrentChannel = args[1]
54-
55-
return s.NewChannel(args[1], false)
5650
}
51+
52+
s.Client.Join(args[1])
53+
CurrentChannel = args[1]
54+
s.CurrentChannel = args[1]
55+
56+
return s.NewChannel(args[1], false)
5757
}
5858

5959
return nil

0 commit comments

Comments
 (0)