Skip to content

Commit

Permalink
internal/lsp: fix error handling in cmd
Browse files Browse the repository at this point in the history
Found unnecessary error handling so removed.

Change-Id: I1a48e73186425291fdb0ede963b92ef6c9ce0ed8
GitHub-Last-Rev: d5cf67c
GitHub-Pull-Request: #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>
  • Loading branch information
micnncim authored and stamblerre committed Apr 22, 2019
1 parent 75f2365 commit 15d5d38
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions internal/lsp/cmd/cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}

Expand Down

0 comments on commit 15d5d38

Please sign in to comment.