Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update scalafmt-core to 3.8.2 #1007

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .git-blame-ignore-revs
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
# Scala Steward: Reformat with scalafmt 3.7.10
9bcedec20a4fc7adedce8aea4921c05b0c7acfa4

# Scala Steward: Reformat with scalafmt 3.8.2
586dc324812442ed0796bd1979aea8c5bbe2a254
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.1"
version = "3.8.2"
maxColumn = 120
align.preset = most
continuationIndent.defnSite = 2
Expand Down
4 changes: 2 additions & 2 deletions mysql/src/main/scala/zio/sql/mysql/MysqlRenderModule.scala
Original file line number Diff line number Diff line change
Expand Up @@ -412,7 +412,7 @@ trait MysqlRenderModule extends MysqlSqlModule { self =>
render(
lit.value.asInstanceOf[Chunk[Byte]].map("""\%02X""" format _).mkString("x'", "", "'")
) // todo fix `cast` infers correctly but map doesn't work for some reason
case tt @ TChar =>
case tt @ TChar =>
render("'", tt.cast(lit.value), "'") // todo is this the same as a string? fix escaping
case tt @ TInstant =>
render("TIMESTAMP '", tt.cast(lit.value), "'")
Expand Down Expand Up @@ -448,7 +448,7 @@ trait MysqlRenderModule extends MysqlSqlModule { self =>
render(lit.value)
case TString =>
render("'", lit.value, "'") // todo fix escaping
case _ =>
case _ =>
render(lit.value) // todo fix add TypeTag.Nullable[_] =>
}
}
Expand Down
Loading