Skip to content

Commit

Permalink
Update scalafmt-core to 3.8.4 (#383)
Browse files Browse the repository at this point in the history
* Update scalafmt-core to 3.8.4

* Reformat with scalafmt 3.8.4

Executed command: scalafmt --non-interactive

* Add 'Reformat with scalafmt 3.8.4' to .git-blame-ignore-revs
  • Loading branch information
scala-steward authored Jan 14, 2025
1 parent 25b7e16 commit b5a8d66
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 3 deletions.
3 changes: 3 additions & 0 deletions .git-blame-ignore-revs
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,6 @@ e247ccdc24dd53dbaa9b75d0beae2d59810ce899

# Scala Steward: Reformat with scalafmt 3.8.0
12851535006fc5c86247728feda75a9e896ce34f

# Scala Steward: Reformat with scalafmt 3.8.4
de6cf000115f64f2d3280cdeeb6f29dd0a14983a
2 changes: 1 addition & 1 deletion .scalafmt.conf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version = 3.8.3
version = 3.8.4
runner.dialect = Scala213Source3

newlines.alwaysBeforeElseAfterCurlyIf = false
Expand Down
2 changes: 1 addition & 1 deletion project/ReactiveMongo.scala
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ final class ReactiveMongo { self =>
if (scalaBinaryVersion.value == "3") {
"org.typelevel" %% "shapeless3-test" % "3.4.3"
} else {
"com.chuusai" %% "shapeless" % "2.3.11",
"com.chuusai" %% "shapeless" % "2.3.11"
}
}
)
Expand Down
4 changes: 3 additions & 1 deletion reactive-mongo/src/main/scala/Request.scala
Original file line number Diff line number Diff line change
Expand Up @@ -406,7 +406,9 @@ object CountRequest {
/**
* @return Collection name -> query body (count BSON properties)
*/
def unapply(request: Request): Option[(String, Int, List[(String, BSONValue)])] =
def unapply(
request: Request
): Option[(String, Int, List[(String, BSONValue)])] =
request match {
case CommandRequest(
("count", BSONString(col)) ::
Expand Down

0 comments on commit b5a8d66

Please sign in to comment.