Skip to content

Commit

Permalink
Update scalafmt-core to 3.8.5 (#368)
Browse files Browse the repository at this point in the history
## About this PR
πŸ“¦ Updates
[org.scalameta:scalafmt-core](https://github.com/scalameta/scalafmt)
from `3.8.3` to `3.8.5`

πŸ“œ [GitHub Release
Notes](https://github.com/scalameta/scalafmt/releases/tag/v3.8.5) -
[Version
Diff](scalameta/scalafmt@v3.8.3...v3.8.5)

## Usage
βœ… **Please merge!**

I'll automatically update this PR to resolve conflicts as long as you
don't change it yourself.

If you'd like to skip this version, you can just close this PR. If you
have any feedback, just mention me in the comments below.

Configure Scala Steward for your repository with a
[`.scala-steward.conf`](https://github.com/scala-steward-org/scala-steward/blob/cef750ca7ef49bfcc10ef9e8db0c6284b3a873c5/docs/repo-specific-configuration.md)
file.

_Have a fantastic day writing Scala!_

<details>
<summary>βš™ Adjust future updates</summary>

Add this to your `.scala-steward.conf` file to ignore future updates of
this dependency:
```
updates.ignore = [ { groupId = "org.scalameta", artifactId = "scalafmt-core" } ]
```
Or, add this to slow down future updates of this dependency:
```
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "org.scalameta", artifactId = "scalafmt-core" }
}]
```
</details>

<sup>
labels: library-update, early-semver-patch, semver-spec-patch,
commit-count:n:3
</sup>

<!-- scala-steward = {
  "Update" : {
    "ForArtifactId" : {
      "crossDependency" : [
        {
          "groupId" : "org.scalameta",
          "artifactId" : {
            "name" : "scalafmt-core",
            "maybeCrossName" : "scalafmt-core_2.13"
          },
          "version" : "3.8.3",
          "sbtVersion" : null,
          "scalaVersion" : null,
          "configurations" : null
        }
      ],
      "newerVersions" : [
        "3.8.5"
      ],
      "newerGroupId" : null,
      "newerArtifactId" : null
    }
  },
  "Labels" : [
    "library-update",
    "early-semver-patch",
    "semver-spec-patch",
    "commit-count:n:3"
  ]
} -->
  • Loading branch information
scala-steward authored Jan 20, 2025
1 parent 9570079 commit 63a660a
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
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.8.5
798c79594210aab1f3275bdb487030cef1cf1b0b
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.5

maxColumn = 120

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -466,12 +466,10 @@ object Engine {
Ref[F]
.of(initial)
.map { seqNrRef => events =>
{
val size = events.size
seqNrRef.modify { seqNr =>
val seqNr1 = seqNr + size
(seqNr1, seqNr1)
}
val size = events.size
seqNrRef.modify { seqNr =>
val seqNr1 = seqNr + size
(seqNr1, seqNr1)
}
}

Expand Down

0 comments on commit 63a660a

Please sign in to comment.