Skip to content

Commit

Permalink
Attempt to fix Suwayomi#237
Browse files Browse the repository at this point in the history
  • Loading branch information
Syer10 committed Dec 19, 2021
1 parent 6130fb9 commit 598c186
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -251,6 +251,11 @@ object BytecodeEditor {
}

private fun write(pair: Pair<Path, ByteArray>) {
Files.write(pair.first, pair.second)
Files.write(
pair.first,
pair.second,
StandardOpenOption.CREATE,
StandardOpenOption.TRUNCATE_EXISTING
)
}
}

0 comments on commit 598c186

Please sign in to comment.