Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .git-blame-ignore-revs
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Scala Steward: Reformat with scalafmt 3.9.7
502ea841d2fa3e7b5dfb2b50a4c4763be6f44cf1
2 changes: 1 addition & 1 deletion .scalafmt.conf
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
version=3.9.6
version=3.9.7
runner.dialect = "scala213source3"
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ final class GrpcWebServicePrinter(

private[this] def clientMethodImpl(m: MethodDescriptor): PrinterEndo = { p =>
val (maybeObserver, methodName) = (m.streamType match {
case StreamType.Unary => ("", "asyncUnaryCall")
case StreamType.Unary => ("", "asyncUnaryCall")
case StreamType.ServerStreaming =>
(", responseObserver", "asyncServerStreamingCall")
case _ => ???
Expand Down
2 changes: 1 addition & 1 deletion grpcweb/src/main/scala/io/grpc/grpc.scala
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ object Status {
def valueOf(value: String): Code = {
values.find(_.name() == value) match {
case Some(code) => code
case _ =>
case _ =>
throw new IllegalArgumentException(s"Unrecognized code: $value")
}
}
Expand Down