Skip to content

Commit 5991353

Browse files
Update scalafmt-core to 3.9.7 (scalapb#316)
* Update scalafmt-core to 3.9.7 * Reformat with scalafmt 3.9.7 Executed command: scalafmt --non-interactive * Add 'Reformat with scalafmt 3.9.7' to .git-blame-ignore-revs
1 parent 2d8bf61 commit 5991353

File tree

4 files changed

+5
-3
lines changed

4 files changed

+5
-3
lines changed

.git-blame-ignore-revs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# Scala Steward: Reformat with scalafmt 3.9.7
2+
502ea841d2fa3e7b5dfb2b50a4c4763be6f44cf1

.scalafmt.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
version=3.9.6
1+
version=3.9.7
22
runner.dialect = "scala213source3"

code-gen/src/main/scala/scalapb/grpcweb/GrpcWebServicePrinter.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ final class GrpcWebServicePrinter(
104104

105105
private[this] def clientMethodImpl(m: MethodDescriptor): PrinterEndo = { p =>
106106
val (maybeObserver, methodName) = (m.streamType match {
107-
case StreamType.Unary => ("", "asyncUnaryCall")
107+
case StreamType.Unary => ("", "asyncUnaryCall")
108108
case StreamType.ServerStreaming =>
109109
(", responseObserver", "asyncServerStreamingCall")
110110
case _ => ???

grpcweb/src/main/scala/io/grpc/grpc.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@ object Status {
301301
def valueOf(value: String): Code = {
302302
values.find(_.name() == value) match {
303303
case Some(code) => code
304-
case _ =>
304+
case _ =>
305305
throw new IllegalArgumentException(s"Unrecognized code: $value")
306306
}
307307
}

0 commit comments

Comments
 (0)