Skip to content

Commit

Permalink
Merge pull request #525 from Roiocam/fix-no-such-file
Browse files Browse the repository at this point in the history
fix newFileSystem use the URI with a non-existent path
  • Loading branch information
eed3si9n authored May 6, 2024
2 parents 56f7e71 + 5992c17 commit 573579b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/main/scala/sbtassembly/Assembly.scala
Original file line number Diff line number Diff line change
Expand Up @@ -353,6 +353,10 @@ object Assembly {
throw new RuntimeException("Exiting task")
} else {
IO.delete(output)
val dest = output.getParentFile
if (!dest.exists()) {
dest.mkdirs()
}
createJar(output, jarEntriesToWrite, jarManifest, localTime)
}
}
Expand Down

0 comments on commit 573579b

Please sign in to comment.