mirror of https://github.com/sbt/sbt.git
Delete META-INF folder after remote cache pull
This commit is contained in:
parent
87e57b5390
commit
49e7d71cbc
|
|
@ -217,10 +217,12 @@ object RemoteCache {
|
||||||
): Unit = {
|
): Unit = {
|
||||||
IO.delete(output)
|
IO.delete(output)
|
||||||
IO.unzip(jar, output)
|
IO.unzip(jar, output)
|
||||||
val expandedAnalysis = output / "META-INF" / "inc_compile.zip"
|
val metaDir = output / "META-INF"
|
||||||
|
val expandedAnalysis = metaDir / "inc_compile.zip"
|
||||||
if (expandedAnalysis.exists) {
|
if (expandedAnalysis.exists) {
|
||||||
IO.move(expandedAnalysis, analysisFile)
|
IO.move(expandedAnalysis, analysisFile)
|
||||||
}
|
}
|
||||||
|
IO.delete(metaDir)
|
||||||
// testResult match {
|
// testResult match {
|
||||||
// case Some(r) =>
|
// case Some(r) =>
|
||||||
// val expandedTestResult = output / "META-INF" / "succeeded_tests"
|
// val expandedTestResult = output / "META-INF" / "succeeded_tests"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue