Skip to content

Commit

Permalink
Merge pull request #3 from scala-steward/update/sbt-tpolecat-0.4.4
Browse files Browse the repository at this point in the history
Update sbt-tpolecat to 0.4.4
  • Loading branch information
mergify[bot] authored Oct 20, 2023
2 parents 2c6ad3f + 69a15c7 commit 89a453b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,10 @@ class JdkAutoUpdatingVar[T](
closed = true
nextTask.foreach(_.cancel(true))
}
if (executorOverride.isEmpty)
if (executorOverride.isEmpty) {
executor.shutdownNow()
()
}
super.close()
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ class JdkAutoUpdatingVarTest extends munit.FunSuite {
UpdateAttemptStrategy.Infinite(1.second)
)

intercept[TestException.type] { Await.result(v.ready, 1.second) }
val _ = intercept[TestException.type] { Await.result(v.ready, 1.second) }
v.close
}

Expand All @@ -113,7 +113,7 @@ class JdkAutoUpdatingVarTest extends munit.FunSuite {
UpdateAttemptStrategy.Infinite(1.second)
)

intercept[UnreadyAutoUpdatingVarException.type] { v.latest }
val _ = intercept[UnreadyAutoUpdatingVarException.type] { v.latest }
v.close
}

Expand Down
2 changes: 1 addition & 1 deletion project/plugins.sbt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
addSbtPlugin("com.github.sbt" % "sbt-github-actions" % "0.18.0")
addSbtPlugin("com.github.sbt" % "sbt-ci-release" % "1.5.12")
addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.5.2")
addSbtPlugin("io.github.davidgregory084" % "sbt-tpolecat" % "0.4.1")
addSbtPlugin("io.github.davidgregory084" % "sbt-tpolecat" % "0.4.4")

0 comments on commit 89a453b

Please sign in to comment.