diff --git a/testkit/src/mill/testkit/IntegrationTesterBase.scala b/testkit/src/mill/testkit/IntegrationTesterBase.scala index 7e43e720e95..95f263c4f02 100644 --- a/testkit/src/mill/testkit/IntegrationTesterBase.scala +++ b/testkit/src/mill/testkit/IntegrationTesterBase.scala @@ -18,6 +18,7 @@ trait IntegrationTesterBase { */ def initWorkspace(): Unit = { println(s"Copying integration test sources from $workspaceSourcePath to $workspacePath") + os.makeDir.all(workspacePath) os.list(workspacePath).foreach(os.remove.all(_)) os.list(workspaceSourcePath).filter(_.last != out).foreach(os.copy.into(_, workspacePath)) os.remove.all(workspacePath / "out")