Skip to content

Commit

Permalink
Merge pull request #33 from typelevel/update/scalafmt-core-3.7.17
Browse files Browse the repository at this point in the history
Update scalafmt-core to 3.7.17
  • Loading branch information
Baccata authored Apr 23, 2024
2 parents 55668bc + 6ebf110 commit 7f00726
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 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.7.17
98879bf22a5e11b4adf2047825c9efa0b9a22428
2 changes: 1 addition & 1 deletion .scalafmt.conf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version = "3.7.14"
version = "3.7.17"

runner.dialect=scala213source3

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ object Ansi2Html extends Function1[String, String] {
case (col1, col2) if color.isDefinedAt(col2) =>
val closing = if (color.isDefinedAt(col1)) "</span>" else ""
val nextColor = color(col2)
if (nextColor != "lightgray" ) {
if (nextColor != "lightgray") {
s"$closing<span style='color: $nextColor'>"
} else {
s"$closing<span style='color: $nextColor'><b>"
Expand Down

0 comments on commit 7f00726

Please sign in to comment.