Skip to content

Commit

Permalink
Use Files.newOutputStream instead of new java.io.FileOutputStream (#323)
Browse files Browse the repository at this point in the history
  • Loading branch information
sake92 authored Oct 17, 2024
1 parent f1bf225 commit af875ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion os/src/ZipOps.scala
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ object zip {
)
} finally opened.close()
} else {
val f = new java.io.FileOutputStream(dest.toIO)
val f = Files.newOutputStream(dest.toNIO)
try createNewZip(
sources,
excludePatterns,
Expand Down

0 comments on commit af875ae

Please sign in to comment.