diff --git a/src/test/java/builderpackage/FileCompressor.java b/src/test/java/builderpackage/FileCompressor.java index 3d2b7f1..6d82d7c 100644 --- a/src/test/java/builderpackage/FileCompressor.java +++ b/src/test/java/builderpackage/FileCompressor.java @@ -54,6 +54,7 @@ public class FileCompressor { if (StrUtil.isBlank(finalPath)) { finalPath = "/"; } + finalPath = finalPath.replace(File.separator, "/"); ZipEntry zipEntry = new ZipEntry(finalPath); zipOutputStream.putNextEntry(zipEntry);