From 2a96c1470ee0304454b4a6b30f8609229a74a817 Mon Sep 17 00:00:00 2001 From: scala-steward Date: Sat, 1 Nov 2025 00:37:33 +0000 Subject: [PATCH 1/3] Update scalafmt-core to 3.10.1 --- .scalafmt.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.scalafmt.conf b/.scalafmt.conf index b81a039..09e246b 100644 --- a/.scalafmt.conf +++ b/.scalafmt.conf @@ -1,5 +1,5 @@ runner.dialect = scala213 -version = 3.8.6 +version = 3.10.1 maxColumn = 120 fileOverride { "glob:**/scala-3/**" { From 69aa7a84876d15a96741ce0cb163d63c9a156049 Mon Sep 17 00:00:00 2001 From: scala-steward Date: Sat, 1 Nov 2025 00:37:36 +0000 Subject: [PATCH 2/3] Reformat with scalafmt 3.10.1 Executed command: scalafmt --non-interactive --- ws/src/main/scala/sttp/ws/WebSocket.scala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ws/src/main/scala/sttp/ws/WebSocket.scala b/ws/src/main/scala/sttp/ws/WebSocket.scala index 0b156a3..48c5e38 100644 --- a/ws/src/main/scala/sttp/ws/WebSocket.scala +++ b/ws/src/main/scala/sttp/ws/WebSocket.scala @@ -48,8 +48,8 @@ trait WebSocket[F[_]] { */ def receiveDataFrame(pongOnPing: Boolean = true): F[WebSocketFrame.Data[_]] = receive().flatMap { - case close: WebSocketFrame.Close => monad.error(WebSocketClosed(Some(close))) - case d: WebSocketFrame.Data[_] => monad.unit(d) + case close: WebSocketFrame.Close => monad.error(WebSocketClosed(Some(close))) + case d: WebSocketFrame.Data[_] => monad.unit(d) case WebSocketFrame.Ping(payload) if pongOnPing => send(WebSocketFrame.Pong(payload)) // https://github.com/softwaremill/sttp/issues/2236: after a Ping frame is received, the WS might have become From 865ae61118245bb3c684d73f99b86398f4ef4dba Mon Sep 17 00:00:00 2001 From: scala-steward Date: Sat, 1 Nov 2025 00:37:36 +0000 Subject: [PATCH 3/3] Add 'Reformat with scalafmt 3.10.1' to .git-blame-ignore-revs --- .git-blame-ignore-revs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.git-blame-ignore-revs b/.git-blame-ignore-revs index 85ee6d7..937295f 100644 --- a/.git-blame-ignore-revs +++ b/.git-blame-ignore-revs @@ -1,2 +1,5 @@ # Scala Steward: Reformat with scalafmt 3.8.1 499baded20f959dca86ad7a24d2244b7241de8c3 + +# Scala Steward: Reformat with scalafmt 3.10.1 +69aa7a84876d15a96741ce0cb163d63c9a156049