Skip to content

Commit

Permalink
Add replacement of existing files during local modules unzip (#1172)
Browse files Browse the repository at this point in the history
Co-authored-by: Aleksandr Purii <aapurii@yandex-team.ru>
  • Loading branch information
aapurii and Aleksandr Purii authored May 8, 2024
1 parent b098732 commit c7d35f6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ private static void extractFiles(File zip, Path targetDir) throws IOException {
Files.createDirectories(entryTargetPath);
} else {
Files.createDirectories(entryTargetPath.getParent());
Files.copy(zipStream, entryTargetPath);
Files.copy(zipStream, entryTargetPath, StandardCopyOption.REPLACE_EXISTING);
}
zipEntry = zipStream.getNextEntry();
}
Expand Down

0 comments on commit c7d35f6

Please sign in to comment.