diff --git a/commands/command.go b/commands/command.go index 353448307..626900e95 100644 --- a/commands/command.go +++ b/commands/command.go @@ -114,15 +114,6 @@ func (c *Command) Call(req Request) Response { isChan = actualType.Kind() == reflect.Chan } - if isChan { - if ch, ok := output.(<-chan interface{}); ok { - output = ch - - } else if ch, ok := output.(chan interface{}); ok { - output = (<-chan interface{})(ch) - } - } - // If the command specified an output type, ensure the actual value // returned is of that type if cmd.Type != nil && !isChan {