Skip to content

Update scalafmt-core to 3.9.7 #316

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
May 30, 2025
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