зеркало из https://github.com/golang/tools.git
internal/lsp: fix error handling in cmd
Found unnecessary error handling so removed.
Change-Id: I1a48e73186425291fdb0ede963b92ef6c9ce0ed8
GitHub-Last-Rev: d5cf67cb4a
GitHub-Pull-Request: golang/tools#84
Reviewed-on: https://go-review.googlesource.com/c/tools/+/173097
Reviewed-by: Rebecca Stambler <rstambler@golang.org>
Reviewed-by: Ian Cottrell <iancottrell@google.com>
Run-TryBot: Rebecca Stambler <rstambler@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
This commit is contained in:
Родитель
75f23652ec
Коммит
15d5d381ff
|
@ -145,9 +145,6 @@ func (app *Application) connect(ctx context.Context, client cmdClient) (protocol
|
|||
stream := jsonrpc2.NewHeaderStream(conn, conn)
|
||||
var jc *jsonrpc2.Conn
|
||||
jc, server, _ = protocol.NewClient(stream, client)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
go jc.Run(ctx)
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче