Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master' into feat/new-dashboard-…
Browse files Browse the repository at this point in the history
…reporter
  • Loading branch information
hugo-vrijswijk committed Nov 28, 2019
2 parents 16c6481 + 7765fe5 commit 9791612
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
7 changes: 0 additions & 7 deletions core/src/main/scala/stryker4s/run/Stryker4sRunner.scala
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,10 @@ import stryker4s.report.Reporter
import stryker4s.run.process.ProcessRunner
import stryker4s.run.threshold.ScoreStatus

import scala.meta.internal.tokenizers.PlatformTokenizerCache

trait Stryker4sRunner {
def run(): ScoreStatus = {
implicit val config: Config = ConfigReader.readConfig()

// Scalameta uses a cache file->tokens that exists at a process level
// if one file changes between runs (in the same process, eg a single SBT session) could lead to an error, so
// it is cleaned before it starts.
PlatformTokenizerCache.megaCache.clear()

val collector = new FileCollector(ProcessRunner())
val stryker4s = new Stryker4s(
collector,
Expand Down
2 changes: 1 addition & 1 deletion project/Dependencies.scala
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ object Dependencies {
object versions {
val scala212 = "2.12.10"

val scalameta = "4.2.5"
val scalameta = "4.3.0"
val pureconfig = "0.12.1"
val scalatest = "3.0.8"
val mockitoScala = "1.7.1"
Expand Down

0 comments on commit 9791612

Please sign in to comment.