Tests for cliet package
This commit is contained in:
parent
6a7e9071b6
commit
fe5734d9f0
8 changed files with 162 additions and 43 deletions
|
@ -158,9 +158,6 @@ func doSubscribe(c *cli.Context, cl *client.Client, conf *client.Config, topic,
|
|||
}
|
||||
|
||||
func printMessageOrRunCommand(c *cli.Context, m *client.Message, command string) {
|
||||
if m.Event != client.MessageEvent {
|
||||
return
|
||||
}
|
||||
if command != "" {
|
||||
runCommand(c, command, m)
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue