Skip to content

Commit

Permalink
build(deps): bump github.com/creachadair/jrpc2 from 0.28.5 to 0.30.0 (h…
Browse files Browse the repository at this point in the history
…ashicorp#686)

* build(deps): bump github.com/creachadair/jrpc2 from 0.28.5 to 0.30.0

Bumps [github.com/creachadair/jrpc2](https://github.com/creachadair/jrpc2) from 0.28.5 to 0.30.0.
- [Release notes](https://github.com/creachadair/jrpc2/releases)
- [Commits](creachadair/jrpc2@v0.28.5...v0.30.0)

---
updated-dependencies:
- dependency-name: github.com/creachadair/jrpc2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* reflect upstream breaking change

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Radek Simko <radek.simko@gmail.com>
  • Loading branch information
dependabot[bot] and radeksimko authored Oct 28, 2021
1 parent 48fadde commit 76f5cf0
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ go 1.13
require (
github.com/agext/levenshtein v1.2.2 // indirect
github.com/apparentlymart/go-textseg v1.0.0
github.com/creachadair/jrpc2 v0.28.5
github.com/creachadair/jrpc2 v0.30.0
github.com/fsnotify/fsnotify v1.5.1
github.com/google/go-cmp v0.5.6
github.com/google/uuid v1.2.0 // indirect
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,8 @@ github.com/coreos/go-semver v0.3.0/go.mod h1:nnelYz7RCh+5ahJtPPxZlU+153eP4D4r3Ee
github.com/coreos/go-systemd v0.0.0-20190321100706-95778dfbb74e/go.mod h1:F5haX7vjVVG0kc13fIWeqUViNPyEJxv/OmvnBo0Yme4=
github.com/coreos/pkg v0.0.0-20180928190104-399ea9e2e55f/go.mod h1:E3G3o1h8I7cfcXa63jLwjI0eiQQMgzzUDFVpN/nH/eA=
github.com/cpuguy83/go-md2man/v2 v2.0.0/go.mod h1:maD7wRr/U5Z6m/iR4s+kqSMx2CaBsrgA7czyZG/E6dU=
github.com/creachadair/jrpc2 v0.28.5 h1:kN3UQBM7IZDEJc0CIfqLId1LHsPxx9gRs1G7COn839o=
github.com/creachadair/jrpc2 v0.28.5/go.mod h1:w+GXZGc+NwsH0xsUOgeLBIIRM0jBOSTXhv28KaWGRZU=
github.com/creachadair/jrpc2 v0.30.0 h1:WYC+oqMxj3XEnaYg1l2gurtiawcRP7g8BLC0p8rpZkc=
github.com/creachadair/jrpc2 v0.30.0/go.mod h1:w+GXZGc+NwsH0xsUOgeLBIIRM0jBOSTXhv28KaWGRZU=
github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E=
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
Expand Down
2 changes: 1 addition & 1 deletion internal/langserver/langserver.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ func DefaultConcurrency() int {
}

func (ls *langServer) SetLogger(logger *log.Logger) {
ls.srvOptions.Logger = logger
ls.srvOptions.Logger = jrpc2.StdLogger(logger)
ls.srvOptions.RPCLog = &rpcLogger{logger}
ls.logger = logger
}
Expand Down
2 changes: 1 addition & 1 deletion internal/langserver/langserver_mock.go
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ func (lsm *langServerMock) Start(t *testing.T) context.CancelFunc {
clientCh := channel.LSP(lsm.clientStdin, lsm.clientStdout)
opts := &jrpc2.ClientOptions{}
if testing.Verbose() {
opts.Logger = testLogger(os.Stdout, "[CLIENT] ")
opts.Logger = jrpc2.StdLogger(testLogger(os.Stdout, "[CLIENT] "))
}
lsm.client = jrpc2.NewClient(clientCh, opts)

Expand Down

0 comments on commit 76f5cf0

Please sign in to comment.