Skip to content

Commit

Permalink
keep the environment setup
Browse files Browse the repository at this point in the history
  • Loading branch information
Roiocam committed Apr 29, 2024
1 parent d9b70fa commit 5992c17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/scala/sbtassembly/Assembly.scala
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ object Assembly {

/* Closeable resources */
private[sbtassembly] val jarFileSystemResource =
Using.resource((uri: URI) => FileSystems.newFileSystem(uri, Map.empty[String, String].asJava))
Using.resource((uri: URI) => FileSystems.newFileSystem(uri, Map("create" -> "true").asJava))
private[sbtassembly] val jarEntryInputStreamResource = Using.resource((entry: JarEntry) => entry.stream())
private[sbtassembly] val jarEntryOutputStreamResource = Using.resource((path: Path) =>
Files.newOutputStream(path, StandardOpenOption.TRUNCATE_EXISTING, StandardOpenOption.CREATE)
Expand Down

0 comments on commit 5992c17

Please sign in to comment.