mirror of https://github.com/sbt/sbt.git
Cleaning
This commit is contained in:
parent
903a4b119e
commit
14682fc703
|
|
@ -1,7 +1,7 @@
|
|||
package coursier
|
||||
package cli
|
||||
|
||||
import java.io.{ FileInputStream, ByteArrayOutputStream, File, IOException }
|
||||
import java.io.{ FileInputStream, ByteArrayInputStream, ByteArrayOutputStream, File, IOException }
|
||||
import java.nio.file.Files
|
||||
import java.nio.file.attribute.PosixFilePermission
|
||||
import java.util.Properties
|
||||
|
|
@ -121,7 +121,7 @@ case class Bootstrap(
|
|||
|
||||
val buffer = new ByteArrayOutputStream()
|
||||
|
||||
val bootstrapZip = new ZipInputStream(Thread.currentThread().getContextClassLoader.getResourceAsStream("bootstrap.jar"))
|
||||
val bootstrapZip = new ZipInputStream(new ByteArrayInputStream(bootstrapJar))
|
||||
val outputZip = new ZipOutputStream(buffer)
|
||||
|
||||
for ((ent, data) <- zipEntries(bootstrapZip)) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue