Skip to content

Commit

Permalink
scalafmt-core 3.8.3 (was 3.7.17) (#608)
Browse files Browse the repository at this point in the history
* scalafmt-core 3.8.3 (was 3.7.17)

* Reformat with scalafmt 3.8.3

Executed command: scalafmt --non-interactive

* Add 'Reformat with scalafmt 3.8.3' to .git-blame-ignore-revs
  • Loading branch information
scala-steward authored Aug 30, 2024
1 parent 6e733ab commit d3a3792
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .git-blame-ignore-revs
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,6 @@

# Scala Steward: Reformat with scalafmt 3.7.14
50452b99e0921cc52c4547d2bd8be510d3356283

# Scala Steward: Reformat with scalafmt 3.8.3
55a3ae1ab9dfbdf9fcc7a0bb9ae8ee603b72ab3a
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.17
version = 3.8.3

runner.dialect = Scala213Source3
project.layout = StandardConvention
Expand Down
2 changes: 1 addition & 1 deletion core/src/main/scala/anorm/MetaData.scala
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ object ColumnAliaser {
* }}}
*/
def perPositions(positions: Set[Int])(as: ((Int, ColumnName)) => String): ColumnAliaser = new Default({
case c @ (pos, _) if positions contains pos => as(c)
case c @ (pos, _) if positions.contains(pos) => as(c)
})

/**
Expand Down

0 comments on commit d3a3792

Please sign in to comment.