Skip to content

Commit

Permalink
Slash in test
Browse files Browse the repository at this point in the history
  • Loading branch information
eed3si9n committed Jan 19, 2025
1 parent 7f8133a commit c7b938c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ private static void zipDirectory(Path sourceDir, File zipFile) throws IOExceptio
Stream<Path> paths = Files.walk(sourceDir)
) {
paths.forEach(path -> {
String name = sourceDir.relativize(path).toString();
String name = sourceDir.relativize(path).toString().replace('\\', '/');
if (Files.isDirectory(path)) {
name = name + "/";
}
Expand Down

0 comments on commit c7b938c

Please sign in to comment.