Skip to content

Commit

Permalink
Merge pull request #257 from scala-steward/update/scalafmt-core-3.8.3
Browse files Browse the repository at this point in the history
Update scalafmt-core to 3.8.3
  • Loading branch information
darkfrog26 authored Aug 5, 2024
2 parents 4f03538 + e6f2928 commit 4b00b5e
Show file tree
Hide file tree
Showing 3 changed files with 5 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 @@ -6,3 +6,6 @@

# Scala Steward: Reformat with scalafmt 3.7.4
4b97587464bc2183f9034b6a6ff1eff787918ce0

# Scala Steward: Reformat with scalafmt 3.8.3
93903b56a27ce2b5e8c62e2e73b8eac67b561f03
2 changes: 1 addition & 1 deletion .scalafmt.conf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# https://scalameta.org/scalafmt/docs/configuration.html
version = 3.8.2
version = 3.8.3
runner {
dialect = scala213
}
Expand Down
3 changes: 1 addition & 2 deletions io/shared/src/main/scala/fabric/io/JsonFormatter.scala
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,7 @@ case class JsonFormatter(config: JsonFormatterConfig) extends Formatter {
case Obj(map) =>
val content = map.toList
.map { case (key, value) =>
s"${config.newLine()}${config.indent(depth + 1)}${config.encodeString(key)}${config
.keyValueSeparator()}${write(value, depth + 1)}"
s"${config.newLine()}${config.indent(depth + 1)}${config.encodeString(key)}${config.keyValueSeparator()}${write(value, depth + 1)}"
}
.mkString(",")
s"{$content${config.newLine()}${config.indent(depth)}}"
Expand Down

0 comments on commit 4b00b5e

Please sign in to comment.