Skip to content

Commit

Permalink
Update scalafmt-core to 3.3.1 (#269)
Browse files Browse the repository at this point in the history
* Update scalafmt-core to 3.3.1

* Reformat with scalafmt 3.3.1
  • Loading branch information
scala-steward authored Jan 2, 2022
1 parent be8e154 commit e86af44
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .scalafmt.conf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version = "3.3.0"
version = "3.3.1"

preset = "defaultWithAlign"
runner.dialect = "scala213"
Expand Down
3 changes: 1 addition & 2 deletions bak/play-twirl/app/Filters.scala
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,10 @@ import filters.ExampleFilter
@Singleton
class Filters @Inject() (env: Environment, exampleFilter: ExampleFilter) extends HttpFilters {

override val filters = {
override val filters =
// Use the example filter if we're running development mode. If
// we're running in production or test mode then don't use any
// filters at all.
if (env.mode == Mode.Dev) Seq(exampleFilter) else Seq.empty
}

}

0 comments on commit e86af44

Please sign in to comment.