Skip to content

Commit

Permalink
Merge pull request #228 from scala-steward/update/scalafmt-core-3.8.4
Browse files Browse the repository at this point in the history
Update scalafmt-core to 3.8.4
  • Loading branch information
mergify[bot] authored Jan 13, 2025
2 parents f941d74 + d79fb4f commit 4af7220
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
3 changes: 3 additions & 0 deletions .git-blame-ignore-revs
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,6 @@
4e224a6ff898ddf989d9a69b95ea6349f605ec90
# Scala Steward: Reformat with scalafmt 3.8.2
c980f5875ba856d02ca8da6162f54f44793dcd16

# Scala Steward: Reformat with scalafmt 3.8.4
91ba17e0dd3a2f4a64013132ea2aba11622c8eab
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
maxColumn = 100
indent.defnSite = 2
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -152,8 +152,8 @@ object DeviceRepository {
def findByDeviceUuids(ns: Namespace, deviceIds: Seq[DeviceId]): DBIO[Seq[DeviceDB]] =
findByUuids(ns, deviceIds).result

def updateLastSeen(uuid: DeviceId, when: Instant)(
implicit ec: ExecutionContext): DBIO[Boolean] = {
def updateLastSeen(uuid: DeviceId,
when: Instant)(implicit ec: ExecutionContext): DBIO[Boolean] = {
val sometime = Some(when)

val dbIO = for {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -268,9 +268,7 @@ class AdminResourceSpec
responseAs[SignedPayload[TargetsRole]].signed.version shouldBe 1
}

Put(
apiUri(s"admin/devices/${dev.deviceId.show}/targets.json")
).namespaced ~> routes ~> check {
Put(apiUri(s"admin/devices/${dev.deviceId.show}/targets.json")).namespaced ~> routes ~> check {
status shouldBe StatusCodes.Accepted
}

Expand Down

0 comments on commit 4af7220

Please sign in to comment.