Skip to content

Commit a92a131

Browse files
authored
Merge pull request #135 from scala-steward/update/scalafmt-core-3.0.8
Update scalafmt-core to 3.0.8
2 parents 431b9ee + 06f9963 commit a92a131

File tree

3 files changed

+9
-6
lines changed

3 files changed

+9
-6
lines changed

.scalafmt.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
version = "2.7.5"
1+
version = "3.0.8"
22
maxColumn = 120

build.sbt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import sbtcrossproject.CrossPlugin.autoImport.{crossProject, CrossType}
1+
import sbtcrossproject.CrossPlugin.autoImport.{crossProject, CrossType}
22

33
Global / parallelExecution := false
44

shared/src/main/scala/com/thoughtworks/binding/bindable/package.scala

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,9 @@ package bindable {
2929
implicit def jsArrayBindableSeq[Value0]: BindableSeq.Aux[js.Array[Value0], Value0] =
3030
new BindableSeq[js.Array[Value0]] {
3131
type Value = Value0
32-
def toBindingSeq(from: js.Array[Value0]): BindingSeq[Value] = Constants(scalajs.runtime.toScalaVarArgs(from): _*)
32+
def toBindingSeq(from: js.Array[Value0]): BindingSeq[Value] = Constants(
33+
scalajs.runtime.toScalaVarArgs(from): _*
34+
)
3335
}
3436
}
3537

@@ -75,16 +77,17 @@ package bindable {
7577
def toBinding(from: Binding[Value0]): Binding[Value] = from
7678
}
7779

78-
implicit def futureBindable[Value0](
79-
implicit executionContext: ExecutionContext): Bindable.Aux[Future[Value0], Option[Try[Value0]]] =
80+
implicit def futureBindable[Value0](implicit
81+
executionContext: ExecutionContext
82+
): Bindable.Aux[Future[Value0], Option[Try[Value0]]] =
8083
new Bindable[Future[Value0]] {
8184
type Value = Option[Try[Value0]]
8285
def toBinding(from: Future[Value0]): Binding[Value] = FutureBinding(from)
8386
}
8487

8588
@enableIf(c => c.compilerSettings.exists(_.matches("""^-Xplugin:.*scalajs-compiler_[0-9\.\-]*\.jar$""")))
8689
implicit def thenableBindable[Value0]
87-
: Bindable.Aux[scala.scalajs.js.Thenable[Value0], Option[Either[Any, Value0]]] =
90+
: Bindable.Aux[scala.scalajs.js.Thenable[Value0], Option[Either[Any, Value0]]] =
8891
new Bindable[scala.scalajs.js.Thenable[Value0]] {
8992
type Value = Option[Either[Any, Value0]]
9093
def toBinding(from: scala.scalajs.js.Thenable[Value0]): Binding[Value] = JsPromiseBinding(from)

0 commit comments

Comments
 (0)